Skip to content

Commit 2f85553

Browse files
author
Paulo Gomes
committed
build: Increase envtest stop timeout
Some tests have become flaky due to timeouts trying to stop the control plane. Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
1 parent 9c21f8a commit 2f85553

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/tests.yaml

+6-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ jobs:
3131
env:
3232
TEST_AZURE_ACCOUNT_NAME: ${{ secrets.TEST_AZURE_ACCOUNT_NAME }}
3333
TEST_AZURE_ACCOUNT_KEY: ${{ secrets.TEST_AZURE_ACCOUNT_KEY }}
34-
run: make test
34+
run: |
35+
export KUBEBUILDER_CONTROLPLANE_STOP_TIMEOUT=45s && make test
3536
3637
test-linux-arm64:
3738
# Hosted on Equinix
@@ -56,7 +57,8 @@ jobs:
5657
# We should reenable go test -race for arm64 runners once the
5758
# current issue is resolved.
5859
GO_TEST_ARGS: ''
59-
run: make test
60+
run: |
61+
export KUBEBUILDER_CONTROLPLANE_STOP_TIMEOUT=45s && make test
6062
6163
# Runs 'make test' on MacOS to ensure the continuous support for contributors
6264
# using it as a development environment.
@@ -80,4 +82,5 @@ jobs:
8082
restore-keys: |
8183
${{ runner.os }}-go-
8284
- name: Run tests
83-
run: make test
85+
run: |
86+
export KUBEBUILDER_CONTROLPLANE_STOP_TIMEOUT=45s && make test

0 commit comments

Comments
 (0)