mirror of https://github.com/coder/coder.git
test(testutil): increase wait times to reduce flakes (#8576)
This commit is contained in:
parent
9e170a7332
commit
58265881af
|
@ -9,9 +9,9 @@ import (
|
||||||
// Constants for timing out operations, usable for creating contexts
|
// Constants for timing out operations, usable for creating contexts
|
||||||
// that timeout or in require.Eventually.
|
// that timeout or in require.Eventually.
|
||||||
const (
|
const (
|
||||||
WaitShort = 5 * time.Second
|
WaitShort = 10 * time.Second
|
||||||
WaitMedium = 10 * time.Second
|
WaitMedium = 15 * time.Second
|
||||||
WaitLong = 15 * time.Second
|
WaitLong = 25 * time.Second
|
||||||
WaitSuperLong = 60 * time.Second
|
WaitSuperLong = 60 * time.Second
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -7,10 +7,10 @@ import "time"
|
||||||
//
|
//
|
||||||
// Windows durations are adjusted for slow CI workers.
|
// Windows durations are adjusted for slow CI workers.
|
||||||
const (
|
const (
|
||||||
WaitShort = 10 * time.Second
|
WaitShort = 15 * time.Second
|
||||||
WaitMedium = 20 * time.Second
|
WaitMedium = 20 * time.Second
|
||||||
WaitLong = 30 * time.Second
|
WaitLong = 35 * time.Second
|
||||||
WaitSuperLong = 60 * time.Second
|
WaitSuperLong = 120 * time.Second
|
||||||
)
|
)
|
||||||
|
|
||||||
// Constants for delaying repeated operations, e.g. in
|
// Constants for delaying repeated operations, e.g. in
|
||||||
|
|
Loading…
Reference in New Issue