-
Notifications
You must be signed in to change notification settings - Fork 181
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
(wip) fix flaky unit tests #3118
base: master
Are you sure you want to change the base?
(wip) fix flaky unit tests #3118
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: adikul30 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 |
/ok-to-test |
/retest |
/retest pull-vsphere-csi-driver-unit-test |
@adikul30: The
Use
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. |
/test pull-vsphere-csi-driver-unit-test |
cc: @chethanv28 |
/test pull-vsphere-csi-driver-unit-test |
079613d
to
918f5c4
Compare
/test pull-vsphere-csi-driver-unit-test |
What this PR does / why we need it:
#3083 introduced a goroutine for restarting the container after a specified amount of time in case listview is not up and session is valid.
This PR prevents running this goroutine during unit tests as it's not required for unit tests and can cause some flakiness.
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #Testing done:
A PR must be marked "[WIP]", if no test result is provided. A WIP PR won't be reviewed, nor merged.
The requester can determine a sufficient test, e.g. build for a cosmetic change, E2E test in a predeployed setup, etc.
For new features, new tests should be done, in addition to regression tests.
If jtest is used to trigger precheckin tests, paste the result after jtest completes and remove [WIP] in the PR subject.
The review cycle will start, only after "[WIP]" is removed from the PR subject.
Special notes for your reviewer:
Release note: