Relax the timeout for TestLegacyPodCleaner a bit.
This test is asynchronously waiting for the controller to do something, and in some of our test environments it will take a bit longer than we'd previously allowed. Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
parent
84733405d0
commit
b42b1c1110
@ -95,7 +95,7 @@ func findSuccessfulStrategy(credentialIssuer *conciergev1alpha.CredentialIssuer,
|
||||
|
||||
func TestLegacyPodCleaner(t *testing.T) {
|
||||
env := testlib.IntegrationEnv(t).WithCapability(testlib.ClusterSigningKeyIsAvailable)
|
||||
ctx, cancel := context.WithTimeout(context.Background(), 1*time.Minute)
|
||||
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Minute)
|
||||
defer cancel()
|
||||
kubeClient := testlib.NewKubernetesClientset(t)
|
||||
|
||||
@ -144,5 +144,5 @@ func TestLegacyPodCleaner(t *testing.T) {
|
||||
return true, nil
|
||||
}
|
||||
return false, err
|
||||
}, 60*time.Second, 1*time.Second)
|
||||
}, 2*time.Minute, 1*time.Second)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user