-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[release-1.20] test/ctr.bats: fix a "ctr execsync" flake #4427
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
[release-1.20] test/ctr.bats: fix a "ctr execsync" flake #4427
Conversation
This test case is sometimes fails like this: > not ok 40 ctr execsync > # (in test file ./ctr.bats, line 429) > # `[[ "$output" == *"command timed out"* ]]' failed > ..... > # time="2020-12-02T23:28:58Z" level=fatal msg="connect: connect endpoint 'unix:///tmp/tmp.ncaFI2tZzn/crio.sock', make sure you are running as root and the endpoint has been started: context deadline exceeded" This happens because our CI might be slow and this 1 second timeout also applies to connect. Increase the timeout and the sleep accordingly to fix the flake. Signed-off-by: Kir Kolyshkin <[email protected]>
|
/approve |
Codecov Report
@@ Coverage Diff @@
## release-1.20 #4427 +/- ##
=============================================
Coverage 40.52% 40.52%
=============================================
Files 116 116
Lines 9327 9327
=============================================
Hits 3780 3780
Misses 5120 5120
Partials 427 427 |
|
/retest |
saschagrunert
left a comment
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
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: haircommander, openshift-cherrypick-robot, saschagrunert 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 |
|
/retest |
1 similar comment
|
/retest |
|
kata failures are unrelated, merging |
This is an automated cherry-pick of #4411
/assign haircommander