-
Notifications
You must be signed in to change notification settings - Fork 1.2k
🐛 Test can inspect stdout & stderr: Give some time to exit #1077
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
🐛 Test can inspect stdout & stderr: Give some time to exit #1077
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alvaroaleman 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 |
/test pull-controller-runtime-test-master |
4 similar comments
/test pull-controller-runtime-test-master |
/test pull-controller-runtime-test-master |
/test pull-controller-runtime-test-master |
/test pull-controller-runtime-test-master |
The job failed one out of five times and that because of a different error so I think this PR definitely improves the situation: https://prow.k8s.io/pr-history/?org=kubernetes-sigs&repo=controller-runtime&pr=1077 /assign @vincepri |
Should we increase the eventually global timeout, to something like 10-20 seconds? |
SetDefaultEventuallyPollingInterval(100 * time.Millisecond)
SetDefaultEventuallyTimeout(30 * time.Second) This is what we use in Cluster API |
@vincepri hmhm, so if possible I would prefer to only do that on individual testcases when we know they need that (does ginkgo allow that?) |
Yeah, that would be the second argument of Eventually |
@vincepri yeah then I would be in favor of just doing that when we see a need rather than globally |
@vincepri can we merge this or is there something unaddressed left? |
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
Hopefully will fix our top failing test. I believe it is failing because we expect it to be exited immediately after it started. However it might need a bit more time after printing the successful start message to be exited.