-
Notifications
You must be signed in to change notification settings - Fork 8
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
Shorten Timeouts for E2e Tests #113
Conversation
Skipping CI for Draft Pull Request. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: razo7 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 4.14-openshift-e2e |
because of
this should not be merged before the other PR, otherwise we miss a test... /hold |
|
It is a step in a test, and not a full test but I agree that it is better to wait.
Correct, so either we merge this PR or the other one, otherwise every e2e test could fail due to the #112 change and we can't merge the remaining PRs. |
a3a217f
to
18bb842
Compare
/test 4.14-openshift-e2e |
/test 4.14-openshift-e2e |
test/e2e/far_e2e_test.go
Outdated
timeoutShort = "5s" // this timeout is used after all the other steps have been succesfult | ||
pollShort = "250ms" |
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.
why change the var names with suffix Short
, I think in this context long/short time are very subjective (especially since the "long" time doesn't exist anymore as a baseline to compare to) terms so I prefer a more meaningful name.
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.
I agree, it was just short from my POV.
88e3ce1
to
68413e1
Compare
/test 4.14-openshift-e2e |
/test 4.15-openshift-e2e |
test/e2e/far_e2e_test.go
Outdated
timeoutTaint = "2s" // Timeout for checking the FAR taint | ||
timeoutReboot = "6m0s" // fencing with fence_aws should be completed within 6 minutes | ||
timeoutAfterReboot = "5s" // Timeout for verifying steps after the node has been rebooted | ||
pollShort = "250ms" |
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.
I think you've missed that one (i.e pollShort
)
fc9e9bf
to
4a3a73c
Compare
Use shorter version of time as 6m0s instead of 6 * time.Minute. Minimize timeouts and poll intervals for shorter tests.
Replace timeoutShort with timeoutTaint, and timeoutAfterReboot. Replace pollShort with pollTaint, and pollAfterReboot
4a3a73c
to
0922432
Compare
/test 4.14-openshift-e2e |
/lgtm |
/unhold |
Don't look for the fence agent success message from the FAR log which is redundant, less strong, and won't be needed after Rework running Fence Agent command #106Done in Rework running Fence Agent command #106