Skip to content

Commit ca43a9b

Browse files
authored
bump the timeouts for example tests (#860)
## Summary The macos tests seem to timeout fairly regularly (though not always). I'm bumping the non-macos tests timeout in anticipation of us hitting this limit once we add more tests for redis, and other databases. In a separate line of work, we should find a way to have these tests run faster. ## How was it tested? buildkite run should be green
1 parent dd54298 commit ca43a9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cli-tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
- is-main: true
9393
run-example-tests: false
9494
runs-on: ${{ matrix.os }}
95-
timeout-minutes: ${{ (github.ref == 'refs/heads/main' || inputs.run-mac-tests) && 25 || 10 }}
95+
timeout-minutes: ${{ (github.ref == 'refs/heads/main' || inputs.run-mac-tests) && 30 || 15 }}
9696
steps:
9797
- uses: actions/checkout@v3
9898
- uses: actions/[email protected]
@@ -119,7 +119,7 @@ jobs:
119119
env:
120120
DEVBOX_EXAMPLE_TESTS: ${{ matrix.run-example-tests }}
121121
# Used in `go test -timeout` flag. Needs a value that time.ParseDuration can parse.
122-
DEVBOX_GOLANG_TEST_TIMEOUT: "${{ (github.ref == 'refs/heads/main' || inputs.run-mac-tests) && '25m' || '10m' }}"
122+
DEVBOX_GOLANG_TEST_TIMEOUT: "${{ (github.ref == 'refs/heads/main' || inputs.run-mac-tests) && '30m' || '15m' }}"
123123
run: |
124124
go test -timeout $DEVBOX_GOLANG_TEST_TIMEOUT ./...
125125

0 commit comments

Comments
 (0)