From d30d76b7ac8237750efdacafa1f9d9e7b7789985 Mon Sep 17 00:00:00 2001 From: Ryan Richard Date: Wed, 31 May 2023 17:41:36 -0700 Subject: [PATCH] Increase some test timeouts --- internal/concierge/impersonator/impersonator_test.go | 2 +- test/testlib/access.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/concierge/impersonator/impersonator_test.go b/internal/concierge/impersonator/impersonator_test.go index 1a102143..5a8b8a10 100644 --- a/internal/concierge/impersonator/impersonator_test.go +++ b/internal/concierge/impersonator/impersonator_test.go @@ -688,7 +688,7 @@ func TestImpersonator(t *testing.T) { t.Run(tt.name, func(t *testing.T) { t.Parallel() - ctx, cancel := context.WithTimeout(context.Background(), time.Minute) + ctx, cancel := context.WithTimeout(context.Background(), 3*time.Minute) t.Cleanup(cancel) // we need to create this listener ourselves because the API server diff --git a/test/testlib/access.go b/test/testlib/access.go index 98ad4664..51f0756b 100644 --- a/test/testlib/access.go +++ b/test/testlib/access.go @@ -1,4 +1,4 @@ -// Copyright 2020-2022 the Pinniped contributors. All Rights Reserved. +// Copyright 2020-2023 the Pinniped contributors. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package testlib @@ -19,7 +19,7 @@ import ( const ( accessRetryInterval = 250 * time.Millisecond - accessRetryTimeout = 60 * time.Second + accessRetryTimeout = 2 * time.Minute ) // AccessAsUserTest runs a generic test in which a clientUnderTest operating with username