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-07 16:05:22 +0100
commit0b9f7b123e23fd9f480c34385f9fda9f778abf37 (patch)
tree446a143fbb40c2d66d19b7766f47029202bfe0b4
parentDBG set debug (diff)
downloadsynapse-0b9f7b123e23fd9f480c34385f9fda9f778abf37.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