Skip to content

Commit ec9f69d

Browse files
test: increase time constraints in TestUpgradeCmd (#9028) (#9049)
(cherry picked from commit e48a88a) Co-authored-by: Panos Koutsovasilis <[email protected]>
1 parent 6ce5112 commit ec9f69d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/pkg/agent/cmd/upgrade_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func TestUpgradeCmd(t *testing.T) {
7575
require.Eventually(t, func() bool {
7676
counter := atomic.LoadInt32(&mock.upgrades)
7777
return counter > 0
78-
}, 5*time.Second, 100*time.Millisecond)
78+
}, 30*time.Second, 100*time.Millisecond)
7979

8080
// then we close the tcp server which is supposed to interrupt the connection
8181
s.Stop()

0 commit comments

Comments
 (0)