-
Notifications
You must be signed in to change notification settings - Fork 37
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
RHOAIENG-15772: tests(odh-nbc) significantly reduce the amount of sleeping in tests #465
base: main
Are you sure you want to change the base?
RHOAIENG-15772: tests(odh-nbc) significantly reduce the amount of sleeping in tests #465
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 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 |
cdfb5d1
to
4d1f69b
Compare
/lgtm |
This makes the tests more flaky than they are now, so I plan to sit on it a while, until I get other (more important) things merged in opendatahub-io/notebooks. |
I'm waiting with the for when some of the test fixing Jiras appear on our Sprint, so that I'm not the first to touch this long-time-untouched code. |
https://issues.redhat.com/browse/RHOAIENG-15772
Relates to
Description
time.sleep()
s and rely onEventually
interval
constant so that we check more frequentlyThis PR depends on
because with the caching client, a check for resource passes (resource is in cache) but server-side patching fails (resource is not yet on server). For example this one
kubeflow/components/odh-notebook-controller/controllers/notebook_controller_test.go
Lines 840 to 841 in 2555813
and also the create-get does not work well
kubeflow/components/odh-notebook-controller/controllers/notebook_controller_test.go
Lines 331 to 336 in 2555813
How Has This Been Tested?
Merge criteria: