Increase some test timeouts
This commit is contained in:
parent
5fa2992bc5
commit
d30d76b7ac
@ -688,7 +688,7 @@ func TestImpersonator(t *testing.T) {
|
|||||||
t.Run(tt.name, func(t *testing.T) {
|
t.Run(tt.name, func(t *testing.T) {
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
|
||||||
ctx, cancel := context.WithTimeout(context.Background(), time.Minute)
|
ctx, cancel := context.WithTimeout(context.Background(), 3*time.Minute)
|
||||||
t.Cleanup(cancel)
|
t.Cleanup(cancel)
|
||||||
|
|
||||||
// we need to create this listener ourselves because the API server
|
// we need to create this listener ourselves because the API server
|
||||||
|
@ -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
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
package testlib
|
package testlib
|
||||||
@ -19,7 +19,7 @@ import (
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
accessRetryInterval = 250 * time.Millisecond
|
accessRetryInterval = 250 * time.Millisecond
|
||||||
accessRetryTimeout = 60 * time.Second
|
accessRetryTimeout = 2 * time.Minute
|
||||||
)
|
)
|
||||||
|
|
||||||
// AccessAsUserTest runs a generic test in which a clientUnderTest operating with username
|
// AccessAsUserTest runs a generic test in which a clientUnderTest operating with username
|
||||||
|
Loading…
Reference in New Issue
Block a user