From 8593cfd8ec814f877e8ad2bee2c063b95049b124 Mon Sep 17 00:00:00 2001 From: Abdul Rabbani Date: Fri, 27 May 2022 09:40:24 -0400 Subject: [PATCH] Update Lt condition --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d56886d71467..419d4011b09f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -161,6 +161,6 @@ jobs: shell: bash run: | rows=$(docker compose -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-go-ethereum.yml" exec access-node psql -U vdbm -d vulcanize_testing_v4 -AXqtc "SELECT COUNT(*) FROM eth.header_cids") - [[ "$rows" -lt "0" ]] && echo "We could not find any rows in postgres table." && (exit 1) + [[ "$rows" -lt "1" ]] && echo "We could not find any rows in postgres table." && (exit 1) echo $rows docker compose -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-go-ethereum.yml" exec access-node psql -U vdbm -d vulcanize_testing_v4 -AXqtc "SELECT * FROM eth.header_cids"