Skip to content

Commit 942ea08

Browse files
committed
acceptance_test: set ginkgo suite timeout
In Ginkgo v2 the default overall timeout is 1h, down from 24h in v1. This commit sets a default timeout of 2h for the acceptance_test run.
1 parent c1af2b1 commit 942ea08

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ci/tasks/run-bwats/run

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,8 @@ pushd stemcell-builder/acceptance_test
4848
}
4949
END_OF_CONFIG
5050

51-
go run github.com/onsi/ginkgo/v2/ginkgo --focus="${GINKGO_FOCUS}" --skip="${GINKGO_SKIP}" -r -v .
51+
go run github.com/onsi/ginkgo/v2/ginkgo run -r -v \
52+
--timeout="${GINKGO_TIMEOUT}" \
53+
--focus="${GINKGO_FOCUS}" \
54+
--skip="${GINKGO_SKIP}" .
5255
popd

ci/tasks/run-bwats/task.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ params:
1818
BOSH_ENVIRONMENT:
1919
GINKGO_FOCUS:
2020
GINKGO_SKIP:
21+
GINKGO_TIMEOUT: 2h # Ginkgo v2 default is 1h
2122
IAAS:
2223
NETWORK: default
2324
SSH_DISABLED_BY_DEFAULT: false

0 commit comments

Comments
 (0)