Skip to content

Commit

Permalink
Reduce individual test timeout to 10m
Browse files Browse the repository at this point in the history
  • Loading branch information
billyb2 committed Jul 25, 2023
1 parent 9c65463 commit 475e2d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ test: FORCE
# to run one test, use: make preflight-test T=TestAppsV2ConfigSave
preflight-test: build
if [ -r .direnv/preflight ]; then . .direnv/preflight; fi; \
go test --parallel=4 ./test/preflight --tags=integration -v -timeout 60m --run="$(T)"
go test --parallel=4 ./test/preflight --tags=integration -v -timeout 10m --run="$(T)"

ci-preflight:
$(MAKE) preflight-test FLY_PREFLIGHT_TEST_NO_PRINT_HISTORY_ON_FAIL=true
Expand Down
2 changes: 1 addition & 1 deletion scripts/preflight.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ gotesplit \
-total "$total" \
-index "$index" \
github.com/superfly/flyctl/test/preflight/... \
-- --parallel=4 --tags=integration -v -timeout=60m $test_opts | tee "$test_log"
-- --parallel=4 --tags=integration -v -timeout=10m $test_opts | tee "$test_log"
test_status=$?

set -e
Expand Down

0 comments on commit 475e2d3

Please sign in to comment.