-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix context cancellation when image pull progress timeout is 0
#8998
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
Conversation
c60e109
to
7f832a5
Compare
We should never cancel the context when the pull timeout is `0`, means we now add an additional check to prevent this corner case. Deflakes the integration tests and also fixes possible issues around a disabled pull progress timeout. Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
7f832a5
to
2efa5b3
Compare
0
0
0
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8998 +/- ##
==========================================
- Coverage 47.49% 47.49% -0.01%
==========================================
Files 154 154
Lines 23125 23126 +1
==========================================
Hits 10983 10983
- Misses 11072 11073 +1
Partials 1070 1070 |
/retest |
@cri-o/cri-o-maintainers PTAL |
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
Nice!
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: saschagrunert, sohankunkerkar 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 |
/cherry-pick release-1.32 |
@saschagrunert: new pull request created: #9009 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 kubernetes-sigs/prow repository. |
@saschagrunert: new pull request created: #9010 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 kubernetes-sigs/prow repository. |
What type of PR is this?
/kind failing-test
/kind bug
What this PR does / why we need it:
Debugging the test since it seems to flake heavily.
We should never cancel the context when the pull timeout is
0
, means we now add an additional check to prevent this corner case.Deflakes the integration tests and also fixes possible issues around a disabled pull progress timeout.
Which issue(s) this PR fixes:
Fixes #8872
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?