From b42b1c111078116a2596e0a746fb5eb0ff21c502 Mon Sep 17 00:00:00 2001 From: Matt Moyer Date: Wed, 28 Jul 2021 12:51:11 -0500 Subject: [PATCH] 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 --- test/integration/concierge_kubecertagent_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/concierge_kubecertagent_test.go b/test/integration/concierge_kubecertagent_test.go index 286a9ae9..4a756f94 100644 --- a/test/integration/concierge_kubecertagent_test.go +++ b/test/integration/concierge_kubecertagent_test.go @@ -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) }