Skip to content

Commit 7fd6449

Browse files
committed
chore: Add WaitMedium
1 parent cd2930f commit 7fd6449

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

internal/testutil/duration.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ import "time"
77
// Constants for timing out operations, usable for creating contexts
88
// that timeout or in require.Eventually.
99
const (
10-
WaitShort = 5 * time.Second
11-
WaitLong = 15 * time.Second
10+
WaitShort = 5 * time.Second
11+
WaitMedium = 10 * time.Second
12+
WaitLong = 15 * time.Second
1213
)
1314

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

internal/testutil/duration_windows.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ import "time"
77
//
88
// Windows durations are adjusted for slow CI workers.
99
const (
10-
WaitShort = 10 * time.Second
11-
WaitLong = 30 * time.Second
10+
WaitShort = 10 * time.Second
11+
WaitMedium = 20 * time.Second
12+
WaitLong = 30 * time.Second
1213
)
1314

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

0 commit comments

Comments
 (0)