Skip to content

Commit

Permalink
Restores 30s max timeout
Browse files Browse the repository at this point in the history
15s seems not enough in some cases to ensure pro attaches.
  • Loading branch information
CarlosNihelton committed Oct 11, 2023
1 parent f85c2a1 commit e00316f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion end-to-end/manual_token_input_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ func TestManualTokenInput(t *testing.T) {
require.NoErrorf(t, err, "Setup: could not wake distro up: %v. %s", err, out)
}

maxTimeout := 15 * time.Second
const maxTimeout = 30 * time.Second

if !tc.wantAttached {
time.Sleep(maxTimeout)
proCtx, cancel := context.WithTimeout(ctx, 5*time.Second)
Expand Down

0 comments on commit e00316f

Please sign in to comment.