summary refs log tree commit diff
diff options
context:
space:
mode:
authorOlivier Wilkinson (reivilibre) <oliverw@matrix.org>2022-07-05 12:18:26 +0100
committerOlivier Wilkinson (reivilibre) <oliverw@matrix.org>2022-07-05 12:18:26 +0100
commit7fd218ad8b0b68d55501cf153ec2a37490966b1a (patch)
tree6260bfe0a00789945040638940dafc992f091418
parentDBG set debug (diff)
downloadsynapse-7fd218ad8b0b68d55501cf153ec2a37490966b1a.tar.xz
DBG retry until fail
-rw-r--r--.github/workflows/tests.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 52a01a3904..504551c291 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -34,12 +34,12 @@ jobs:
       - run: |
           set -o pipefail
           synapse/scripts-dev/complement.sh --build-only
-          #while :; do
+          while :; do
             POSTGRES=${{ (matrix.database == 'Postgres') && 1 || '' }} WORKERS=${{ (matrix.arrangement == 'workers') && 1 || '' }} SYNAPSE_TEST_LOG_LEVEL=DEBUG COMPLEMENT_DIR=`pwd`/complement synapse/scripts-dev/complement.sh -f -run TestRestrictedRoomsLocalJoin -json 2>&1 | gotestfmt | tee /tmp/xxx
-            #if grep FAIL /tmp/xxx; then
-            #  break
-            #fi
-          #done
+            if grep FAIL /tmp/xxx; then
+              break
+            fi
+          done
 
         shell: bash
         name: Run Complement Tests