Skip to content

Commit 5826588

Browse files
authored
test(testutil): increase wait times to reduce flakes (coder#8576)
1 parent 9e170a7 commit 5826588

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

testutil/duration.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import (
99
// Constants for timing out operations, usable for creating contexts
1010
// that timeout or in require.Eventually.
1111
const (
12-
WaitShort = 5 * time.Second
13-
WaitMedium = 10 * time.Second
14-
WaitLong = 15 * time.Second
12+
WaitShort = 10 * time.Second
13+
WaitMedium = 15 * time.Second
14+
WaitLong = 25 * time.Second
1515
WaitSuperLong = 60 * time.Second
1616
)
1717

testutil/duration_windows.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ import "time"
77
//
88
// Windows durations are adjusted for slow CI workers.
99
const (
10-
WaitShort = 10 * time.Second
10+
WaitShort = 15 * time.Second
1111
WaitMedium = 20 * time.Second
12-
WaitLong = 30 * time.Second
13-
WaitSuperLong = 60 * time.Second
12+
WaitLong = 35 * time.Second
13+
WaitSuperLong = 120 * time.Second
1414
)
1515

1616
// Constants for delaying repeated operations, e.g. in

0 commit comments

Comments
 (0)