diff --git a/test/integration/cli_test.go b/test/integration/cli_test.go index 738e6bef..60e525df 100644 --- a/test/integration/cli_test.go +++ b/test/integration/cli_test.go @@ -28,7 +28,7 @@ func TestCLI(t *testing.T) { ) // Create a test webhook configuration to use with the CLI. - ctx, cancelFunc := context.WithTimeout(context.Background(), 30*time.Second) + ctx, cancelFunc := context.WithTimeout(context.Background(), 4*time.Minute) defer cancelFunc() idp := library.CreateTestWebhookIDP(ctx, t) diff --git a/test/integration/credentialrequest_test.go b/test/integration/credentialrequest_test.go index 481eba9a..0c69a04b 100644 --- a/test/integration/credentialrequest_test.go +++ b/test/integration/credentialrequest_test.go @@ -46,7 +46,7 @@ func TestSuccessfulCredentialRequest(t *testing.T) { expectedTestUserGroups := strings.Split( strings.ReplaceAll(library.GetEnv(t, "PINNIPED_TEST_USER_GROUPS"), " ", ""), ",", ) - ctx, cancel := context.WithTimeout(context.Background(), 20*time.Second) + ctx, cancel := context.WithTimeout(context.Background(), 6*time.Minute) defer cancel() testWebhook := library.CreateTestWebhookIDP(ctx, t)