From e7e043e9ec93285d1fdce1f754fc84a7b472d6ad Mon Sep 17 00:00:00 2001 From: billy rennekamp Date: Mon, 4 Jul 2022 15:46:42 +0200 Subject: [PATCH] clean up --- .github/workflows/test.yml | 2 +- Makefile | 5 ----- contrib/scripts/test_localnet_liveness.sh | 2 ++ 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3db33a59475..2267c1b5aa8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -95,7 +95,7 @@ jobs: if: env.GIT_DIFF - name: Start Local Network run: | - make start-localnet-ci + make start-localnet-ci > liveness.out 2>&1 & if: env.GIT_DIFF - name: Test Local Network Liveness run: | diff --git a/Makefile b/Makefile index 016117f8a9c..9ae1efd7e2a 100644 --- a/Makefile +++ b/Makefile @@ -222,11 +222,6 @@ format: ############################################################################### start-localnet-ci: - go env - ls ${GOPATH} - ls ${GOPATH}/bin - ls ${GOPATH}/pkg - ls build ./build/gaiad init liveness --chain-id liveness --home ~/.gaiad-liveness ./build/gaiad config chain-id liveness --home ~/.gaiad-liveness ./build/gaiad config keyring-backend test --home ~/.gaiad-liveness diff --git a/contrib/scripts/test_localnet_liveness.sh b/contrib/scripts/test_localnet_liveness.sh index 92258c16743..ce5c85c385b 100755 --- a/contrib/scripts/test_localnet_liveness.sh +++ b/contrib/scripts/test_localnet_liveness.sh @@ -36,6 +36,8 @@ docker_containers=($(docker ps -q -f name=umeed --format='{{.Names}}')) while [ ${CNT} -lt $ITER ]; do curr_block=$(curl -s $NODEADDR:26657/status | jq -r '.result.sync_info.latest_block_height') + + tail liveness.out if [ ! -z ${curr_block} ]; then echo "Current block: ${curr_block}"