Skip to content

Commit

Permalink
Increase the timeout value for e2e downgrade tests
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Chun-Hung Tseng committed Feb 9, 2025
1 parent 9de211d commit 9cc6361
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/framework/e2e/downgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
for {
t.Logf("etcdctl downgrade cancel")
err = c.DowngradeCancel(context.TODO())
Expand Down Expand Up @@ -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() {
for {
result, err := getMemberVersionByCurl(cfg, member)
if err != nil {
Expand Down

0 comments on commit 9cc6361

Please sign in to comment.