summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2022-06-14 17:59:06 +0100
committerGitHub <noreply@github.com>2022-06-14 17:59:06 +0100
commitaef398457fff33d6ac079e2665ed725397ade7f5 (patch)
tree89704fbc5d8e38c96ec7d4d15d6d410121912547
parentFix version number in spam checker callbacks doc (#13047) (diff)
downloadsynapse-aef398457fff33d6ac079e2665ed725397ade7f5.tar.xz
Up complement time outs (#13048)
Diffstat (limited to '')
-rw-r--r--changelog.d/13048.misc1
-rwxr-xr-xscripts-dev/complement.sh6
2 files changed, 4 insertions, 3 deletions
diff --git a/changelog.d/13048.misc b/changelog.d/13048.misc
new file mode 100644
index 0000000000..073c8b1a96
--- /dev/null
+++ b/changelog.d/13048.misc
@@ -0,0 +1 @@
+Increase timeout of complement CI test runs.
diff --git a/scripts-dev/complement.sh b/scripts-dev/complement.sh
index 30b974b954..52ef1fd07f 100755
--- a/scripts-dev/complement.sh
+++ b/scripts-dev/complement.sh
@@ -60,6 +60,9 @@ test_tags="synapse_blacklist,msc2716,msc3030,msc3787"
 # (The prefix is stripped off before reaching the container.)
 export COMPLEMENT_SHARE_ENV_PREFIX=PASS_
 
+# It takes longer than 10m to run the whole suite.
+extra_test_args+=("-timeout=60m")
+
 if [[ -n "$WORKERS" ]]; then
   # Use workers.
   export PASS_SYNAPSE_COMPLEMENT_USE_WORKERS=true
@@ -73,9 +76,6 @@ if [[ -n "$WORKERS" ]]; then
   # time (the main problem is that we start 14 python processes for each test,
   # and complement likes to do two of them in parallel).
   export COMPLEMENT_SPAWN_HS_TIMEOUT_SECS=120
-
-  # ... and it takes longer than 10m to run the whole suite.
-  extra_test_args+=("-timeout=60m")
 else
   export PASS_SYNAPSE_COMPLEMENT_USE_WORKERS=
   if [[ -n "$POSTGRES" ]]; then