We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 78779c7 + 33882e2 commit bf6e3a3Copy full SHA for bf6e3a3
2 files changed
internal/app/timeouts.go
@@ -16,7 +16,7 @@ func DefaultTimeouts() Timeouts {
16
return Timeouts{
17
APIShort: 10 * time.Second,
18
APIMedium: 30 * time.Second,
19
- APILong: 60 * time.Second,
+ APILong: 120 * time.Second,
20
BuildUpload: 600 * time.Second,
21
SSHConnect: 5 * time.Second,
22
}
test/testutil/helpers.go
@@ -14,7 +14,11 @@ import (
14
)
15
const (
- DefaultTimeout = 60 * time.Second
+ // DefaultTimeout caps each `vers` invocation in integration tests.
+ // Must exceed the CLI's longest internal context budget (APILong = 120s)
+ // so the CLI gets room to either succeed or return a clean
+ // context-deadline error before the test wrapper kills the process.
+ DefaultTimeout = 180 * time.Second
23
24
var (
0 commit comments