Skip to content

test(testutil): increase wait times to reduce flakes #8576

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions testutil/duration.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

Expand Down
6 changes: 3 additions & 3 deletions testutil/duration_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down