-
Notifications
You must be signed in to change notification settings - Fork 38.6k
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
fix flaky test on dra TestPrepareResources/should_timeout #119709
Conversation
Please note that we're already in Test Freeze for the Fast forwards are scheduled to happen every 6 hours, whereas the most recent run was: Tue Aug 1 10:18:23 UTC 2023. |
/kind failing-test |
@bart0sh: you are better qualified to review this piece of code. Can you take this PR? @charles-chenzz: I'll leave this to the final reviewer, but if I were to review, I would point out that your change comes with no explanation why it solves the problem and why this is the right way of fixing it. /unassign |
@pohly my bad. I thought it's fixing dra e2e tests. @charles-chenzz I agree with @pohly. Can you provide an explanation for this PR? |
imo the reason why the test will flaky is because we set |
Co-authored-by: TommyStarK <thomasmilox@gmail.com>
99c0684
to
ba9ce3a
Compare
/lgtm |
LGTM label has been added. Git tree hash: 2c6921d7e01ae35b9c25d869dfb8528c1db5418f
|
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.
/lgtm
@@ -93,7 +93,7 @@ func setupFakeDRADriverGRPCServer(shouldTimeout bool) (string, tearDown, error) | |||
driverName: driverName, | |||
} | |||
if shouldTimeout { | |||
timeout := plugin.PluginClientTimeout + time.Millisecond | |||
timeout := plugin.PluginClientTimeout + 10*time.Millisecond |
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.
I'm wondering whether this is large enough for the CI. We'll see...
/approve
/retest |
@klueska: please approve. This test flake keeps coming up in different unrelated PRs. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: charles-chenzz, klueska, pohly, TommyStarK The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
#119670 might not have been merged yet, perhaps the OOMKiller flake is gone now. |
What type of PR is this?
/kind bug
What this PR does / why we need it:
fix flaky test on dra manager_test.go
Which issue(s) this PR fixes:
Fixes #119701
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: