Skip to content

Commit 6d5c75f

Browse files
authored
Raise the timeout for Synapse CI to 12 minutes (#425)
The default 10 minute timeout is no longer sufficient to run all of the Synapse tests and is now being hit randomly.
1 parent 6d056d4 commit 6d5c75f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,12 @@ jobs:
4040
- homeserver: Synapse
4141
tags: synapse_blacklist msc3083 msc3787 faster_joins
4242
env: "COMPLEMENT_SHARE_ENV_PREFIX=PASS_ PASS_SYNAPSE_COMPLEMENT_DATABASE=sqlite"
43+
timeout: 12m
4344

4445
- homeserver: Dendrite
4546
tags: msc2836 dendrite_blacklist
4647
env: ""
48+
timeout: 10m
4749

4850
steps:
4951
- uses: actions/checkout@v2 # Checkout complement
@@ -111,7 +113,7 @@ jobs:
111113

112114
- run: |
113115
set -o pipefail &&
114-
${{ matrix.env }} go test -v -json -tags "${{ matrix.tags }}" ./tests/... 2>&1 | gotestfmt
116+
${{ matrix.env }} go test -v -json -tags "${{ matrix.tags }}" -timeout "${{ matrix.timeout }}" ./tests/... 2>&1 | gotestfmt
115117
shell: bash # required for pipefail to be A Thing. pipefail is required to stop gotestfmt swallowing non-zero exit codes
116118
name: Run Complement Tests
117119
env:

0 commit comments

Comments
 (0)