-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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
Increase the timeout value for e2e downgrade tests #19366
base: main
Are you sure you want to change the base?
Increase the timeout value for e2e downgrade tests #19366
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: henrybear327 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Since the e2e downgrade tests exhibits timeout on the CI more frequently than expected, this PR attempts to increase timeout and see if it will alleviate the situation. Signed-off-by: Chun-Hung Tseng <[email protected]>
c273909
to
9cc6361
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted filessee 20 files with indirect coverage changes @@ Coverage Diff @@
## main #19366 +/- ##
==========================================
- Coverage 68.98% 68.91% -0.08%
==========================================
Files 420 420
Lines 35739 35739
==========================================
- Hits 24656 24628 -28
- Misses 9660 9682 +22
- Partials 1423 1429 +6 Continue to review full report in Codecov by Sentry.
|
@@ -56,7 +56,7 @@ func DowngradeCancel(t *testing.T, epc *EtcdProcessCluster) { | |||
c := epc.Etcdctl() | |||
|
|||
var err error | |||
testutils.ExecuteWithTimeout(t, 1*time.Minute, func() { | |||
testutils.ExecuteWithTimeout(t, 2*time.Minute, func() { |
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.
Can you elaborate why it takes so long to cancel the downgrade? @henrybear327 @siyuanfoundation
@@ -143,7 +143,7 @@ func ValidateMemberVersions(t *testing.T, epc *EtcdProcessCluster, expect []*ver | |||
} | |||
|
|||
func ValidateVersion(t *testing.T, cfg *EtcdProcessClusterConfig, member EtcdProcess, expect version.Versions) { | |||
testutils.ExecuteWithTimeout(t, 1*time.Minute, func() { | |||
testutils.ExecuteWithTimeout(t, 2*time.Minute, func() { |
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.
same question why it takes so long?
Since the e2e downgrade tests exhibits timeout on the CI more frequently than expected, this PR attempts to increase timeout and see if it will alleviate the situation.
See one of the timeout being flagged here
Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.