From 5c252fd08325d220326acc6f3ec7227a5a4d0687 Mon Sep 17 00:00:00 2001 From: Ryan Richard Date: Mon, 14 Oct 2024 09:32:06 -0700 Subject: [PATCH] increase allowed delta in test to allow for slower CI workers --- test/integration/e2e_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/integration/e2e_test.go b/test/integration/e2e_test.go index dc6897df7..2d54abcd3 100644 --- a/test/integration/e2e_test.go +++ b/test/integration/e2e_test.go @@ -2196,7 +2196,8 @@ func requireUserCanUseKubectlWithoutAuthenticatingAgain( func requireGCAnnotationsOnSessionStorage(ctx context.Context, t *testing.T, supervisorNamespace string, startTime time.Time, token *oidctypes.Token) { // check that the access token is new (since it's just been refreshed) and has close to two minutes left. - testutil.RequireTimeInDelta(t, startTime.Add(2*time.Minute), token.AccessToken.Expiry.Time, 15*time.Second) + // Give some significant fudge factor to allow for slow CI workers. + testutil.RequireTimeInDelta(t, startTime.Add(2*time.Minute), token.AccessToken.Expiry.Time, 35*time.Second) kubeClient := testlib.NewKubernetesClientset(t).CoreV1()