chore: fix more flaky tests on Windows with Postgres (#15629)
Addresses the following flakes: - https://github.com/coder/internal/issues/222 - https://github.com/coder/internal/issues/223 - https://github.com/coder/internal/issues/224 - https://github.com/coder/internal/issues/225 - https://github.com/coder/internal/issues/226 - https://github.com/coder/internal/issues/227 - https://github.com/coder/internal/issues/228 - https://github.com/coder/internal/issues/229 - https://github.com/coder/internal/issues/230
This commit is contained in:
@@ -7,10 +7,10 @@ import "time"
|
||||
//
|
||||
// Windows durations are adjusted for slow CI workers.
|
||||
const (
|
||||
WaitShort = 15 * time.Second
|
||||
WaitMedium = 20 * time.Second
|
||||
WaitLong = 35 * time.Second
|
||||
WaitSuperLong = 120 * time.Second
|
||||
WaitShort = 30 * time.Second
|
||||
WaitMedium = 40 * time.Second
|
||||
WaitLong = 70 * time.Second
|
||||
WaitSuperLong = 240 * time.Second
|
||||
)
|
||||
|
||||
// Constants for delaying repeated operations, e.g. in
|
||||
@@ -18,7 +18,7 @@ const (
|
||||
//
|
||||
// Windows durations are adjusted for slow CI workers.
|
||||
const (
|
||||
IntervalFast = 50 * time.Millisecond
|
||||
IntervalMedium = 500 * time.Millisecond
|
||||
IntervalSlow = 2 * time.Second
|
||||
IntervalFast = 100 * time.Millisecond
|
||||
IntervalMedium = 1000 * time.Millisecond
|
||||
IntervalSlow = 4 * time.Second
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user