-
Notifications
You must be signed in to change notification settings - Fork 111
WIP: tests: switch wait from polling to watch for more accurate timing #268
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
base: main
Are you sure you want to change the base?
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: justinsb The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
✅ Deploy Preview for agent-sandbox canceled.
|
9ae12e5 to
0238622
Compare
| }), | ||
| } | ||
| require.NoError(t, tc.WaitForObject(t.Context(), sandboxObj, p...)) | ||
| require.NoError(t, tc.PollUntilObject(sandboxObj, p...)) |
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.
Switched because this test seems to fail if we use the (faster) Watch version
|
|
||
| // Wait for the pod to be ready | ||
| require.NoError(testingT, testContext.WaitForObject(testingT.Context(), podObj, predicates.ReadyConditionIsTrue)) | ||
| require.NoError(testingT, testContext.PollUntilObject(podObj, predicates.ReadyConditionIsTrue)) |
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.
This test also fails if we use Watch
0238622 to
ee65aaa
Compare
1b3e14c to
02ed71f
Compare
02ed71f to
5e1839a
Compare
5e1839a to
8bb497c
Compare
|
PR needs rebase. DetailsInstructions 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. |
Uh oh!
There was an error while loading. Please reload this page.