Increase some test timeouts

This commit is contained in:
Ryan Richard 2023-05-31 17:41:36 -07:00
parent 5fa2992bc5
commit d30d76b7ac
2 changed files with 3 additions and 3 deletions

View File

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

View File

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