only stop if the grep matches?!

This commit is contained in:
David Robertson 2022-07-21 00:23:35 +01:00
parent 6ae4b6d1c1
commit b9ced327c8
No known key found for this signature in database
GPG key ID: 903ECE108A39DEDD

View file

@ -31,7 +31,7 @@ jobs:
set -o pipefail
synapse/scripts-dev/complement.sh --build-only
while :; do
POSTGRES=1 WORKERS=1 SYNAPSE_TEST_LOG_LEVEL=DEBUG COMPLEMENT_DIR=`pwd`/complement synapse/scripts-dev/complement.sh -f -json 2>&1 | gotestfmt | tee /tmp/xxx
(POSTGRES=1 WORKERS=1 SYNAPSE_TEST_LOG_LEVEL=DEBUG COMPLEMENT_DIR=`pwd`/complement synapse/scripts-dev/complement.sh -f -json 2>&1 | gotestfmt | tee /tmp/xxx) || true
if grep "❌ TestWriteMDirectAccountData" /tmp/xxx; then
break
fi