Skip to content

Commit

Permalink
fix(end-to-end): Increase timeouts in pro attachment check (#698)
Browse files Browse the repository at this point in the history
sometimes pro attach is very slow
  • Loading branch information
EduardGomezEscandell authored Mar 20, 2024
2 parents ecdc45f + b0f1a44 commit f5f0f76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion end-to-end/manual_token_input_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion end-to-end/organization_token_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f5f0f76

Please sign in to comment.