From 58265881afc692685945f846d2333612aede44f4 Mon Sep 17 00:00:00 2001 From: Mathias Fredriksson Date: Tue, 18 Jul 2023 17:25:54 +0300 Subject: [PATCH] test(testutil): increase wait times to reduce flakes (#8576) --- testutil/duration.go | 6 +++--- testutil/duration_windows.go | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/testutil/duration.go b/testutil/duration.go index a45f425a6e..44ae418eba 100644 --- a/testutil/duration.go +++ b/testutil/duration.go @@ -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 ) diff --git a/testutil/duration_windows.go b/testutil/duration_windows.go index 1037858a5c..4c3b85e671 100644 --- a/testutil/duration_windows.go +++ b/testutil/duration_windows.go @@ -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