Update the read rows command.
This commit is contained in:
parent
0a4079f8bb
commit
6a44b2e1f9
3
.github/workflows/tests.yml
vendored
3
.github/workflows/tests.yml
vendored
@ -160,6 +160,7 @@ jobs:
|
|||||||
- name: Make sure we see entries in the header table
|
- name: Make sure we see entries in the header table
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
rows=$(docker exec -i access-node psql -U vdbm -d vulcanize_testing_v4 -AXqtc "SELECT COUNT(*) FROM eth.header_cids")
|
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 "0" ]] && echo "We could not find any rows in postgres table." && (exit 1)
|
||||||
echo $rows
|
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")
|
||||||
|
Loading…
Reference in New Issue
Block a user