From b0f1a44fe59dbf8f3e739fed32842ff375410a76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edu=20G=C3=B3mez=20Escandell?= Date: Wed, 20 Mar 2024 12:14:05 +0100 Subject: [PATCH] E2E: Increase timeouts in pro attachment check sometimes pro attach is very slow --- end-to-end/manual_token_input_test.go | 2 +- end-to-end/organization_token_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/end-to-end/manual_token_input_test.go b/end-to-end/manual_token_input_test.go index 48a3b29f3..b2ed54577 100644 --- a/end-to-end/manual_token_input_test.go +++ b/end-to-end/manual_token_input_test.go @@ -74,7 +74,7 @@ func TestManualTokenInput(t *testing.T) { require.NoErrorf(t, err, "Setup: could not wake distro up: %v. %s", err, out) } - const maxTimeout = 30 * time.Second + const maxTimeout = time.Minute if !tc.wantAttached { time.Sleep(maxTimeout) diff --git a/end-to-end/organization_token_test.go b/end-to-end/organization_token_test.go index fc0f26022..232d721fc 100644 --- a/end-to-end/organization_token_test.go +++ b/end-to-end/organization_token_test.go @@ -79,7 +79,7 @@ func TestOrganizationProvidedToken(t *testing.T) { require.NoErrorf(t, err, "Setup: could not wake distro up: %v. %s", err, out) } - const maxTimeout = 30 * time.Second + const maxTimeout = time.Minute if !tc.wantAttached { time.Sleep(maxTimeout)