-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NO-JIRA: reduce node lease back off flames to 2 #29110
base: master
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: kannon92 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@@ -71,8 +71,7 @@ func nodeFailedLeaseErrors(startedAt time.Time, finalIntervals monitorapi.Interv | |||
const testName = "[sig-node] kubelet-log-collector detects node failed to lease events" | |||
var failures []string | |||
|
|||
intervalsToFailOn := findLeaseIntervalsImportant(finalIntervals) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to filter this down to the type you're looking for, right?
} | ||
importantIntervals := monitorapi.Intervals(nil) | ||
for _, val := range intervalsByNode { | ||
if len(val) < 3 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what if we reduce this to 2 so we flake if we get two instances and see how many hits we get?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated.
d611d84
to
05af498
Compare
/retitle NO-JIRA: reduce node lease back off flames to 2 |
@kannon92: This pull request explicitly references no jira issue. In response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
@kannon92: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
@@ -554,7 +554,7 @@ func findLeaseIntervalsImportant(intervals monitorapi.Intervals) monitorapi.Inte | |||
} | |||
importantIntervals := monitorapi.Intervals(nil) | |||
for _, val := range intervalsByNode { | |||
if len(val) < 3 { | |||
if len(val) < 2 { | |||
continue | |||
} | |||
for i, interval := range val { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in this for loop the 2
s need to become 1s
No description provided.