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