-
Notifications
You must be signed in to change notification settings - Fork 38.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
Fix WaitTimeoutForPodEvent logic #69549
Conversation
5c96673
to
5461880
Compare
/retest |
/approve |
/lgtm |
/retest |
/assign @saad-ali |
5461880
to
14bd9f5
Compare
Ran into a flake where no events had been recorded yet, so updated the method to keep waiting when no events are found. @mrunalp PTAL |
/lgtm |
14bd9f5
to
5214be3
Compare
New changes are detected. LGTM label has been removed. |
Fixed spelling. |
Reapplying lgtm for trivial fix. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mrunalp, saad-ali, tallclair 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 |
What this PR does / why we need it:
The framework method
WaitTimeoutForPodEvent
was returning an error when an event was found with the correct error message. The only test calling this method compensated by expecting the event to occur, but didn't distinguish what triggered the error.This PR inverts the logic of the helper method (look for an event with the matching string), and flips the corresponding test logic.
Release note:
/area test
/assign @mrunalp