diff --git a/pkg/drain/drain_test.go b/pkg/drain/drain_test.go index 373241054..60fabb9f0 100644 --- a/pkg/drain/drain_test.go +++ b/pkg/drain/drain_test.go @@ -536,7 +536,9 @@ func TestEvictDuringNamespaceTerminating(t *testing.T) { testNamespace := "default" retryDelay := 5 * time.Millisecond - globalTimeout := 2 * retryDelay + // Give the helper enough room for a retry plus scheduler jitter on loaded CI + // hosts. A 10ms total timeout is too small under -race. + globalTimeout := 20 * retryDelay tests := []struct { description string