From 543be801abca1f187cfa324d4bce7977773d7e5d Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Fri, 11 Dec 2020 20:56:14 +0100 Subject: [PATCH] disable debug log --- api_tests/prepare-drone-federation-test.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/api_tests/prepare-drone-federation-test.sh b/api_tests/prepare-drone-federation-test.sh index a064e650..97a5313b 100755 --- a/api_tests/prepare-drone-federation-test.sh +++ b/api_tests/prepare-drone-federation-test.sh @@ -9,7 +9,6 @@ export LEMMY_RATE_LIMIT__POST=99999 export LEMMY_RATE_LIMIT__REGISTER=99999 export LEMMY_CAPTCHA__ENABLED=false export RUST_BACKTRACE=1 -export RUST_LOG=debug for INSTANCE in lemmy_alpha lemmy_beta lemmy_gamma lemmy_delta lemmy_epsilon; do psql "$LEMMY_DATABASE_URL" -c "CREATE DATABASE $INSTANCE" @@ -19,8 +18,6 @@ for INSTANCE in lemmy-alpha lemmy-beta lemmy-gamma lemmy-delta lemmy-epsilon; do echo "127.0.0.1 $INSTANCE" >> /etc/hosts done -cat /etc/hosts - echo "start alpha" LEMMY_HOSTNAME=lemmy-alpha:8541 \ LEMMY_PORT=8541 \ @@ -69,7 +66,7 @@ LEMMY_HOSTNAME=lemmy-epsilon:8581 \ target/lemmy_server & echo "wait for all instances to start" -while [[ "$(curl -s -o /dev/null -w '%{http_code}' 'lemmy-alpha:8541/api/v1/site')" != "200" ]]; do sleep 1; done +while [[ "$(curl -s -o /dev/null -w '%{http_code}' 'localhost:8541/api/v1/site')" != "200" ]]; do sleep 1; done while [[ "$(curl -s -o /dev/null -w '%{http_code}' 'localhost:8551/api/v1/site')" != "200" ]]; do sleep 1; done while [[ "$(curl -s -o /dev/null -w '%{http_code}' 'localhost:8561/api/v1/site')" != "200" ]]; do sleep 1; done while [[ "$(curl -s -o /dev/null -w '%{http_code}' 'localhost:8571/api/v1/site')" != "200" ]]; do sleep 1; done -- 2.44.1