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

This commit is contained in:
Mathias Fredriksson 2023-07-18 17:25:54 +03:00 committed by GitHub
parent 9e170a7332
commit 58265881af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -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
) )

View File

@ -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