Skip to content

Commit 957013e

Browse files
author
Abdul Rabbani
committed
Update the test
1 parent 1277fa1 commit 957013e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jobs:
115115
shell: bash
116116
run: |
117117
COUNT=0
118-
ATTEMPTS=10
118+
ATTEMPTS=15
119119
until $(docker compose -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-go-ethereum.yml" cp go-ethereum:/root/transaction_info/STATEFUL_TEST_DEPLOYED_ADDRESS ./STATEFUL_TEST_DEPLOYED_ADDRESS) || [[ $COUNT -eq $ATTEMPTS ]]; do echo -e "$(( COUNT++ ))... \c"; sleep 10; done
120120
[[ $COUNT -eq $ATTEMPTS ]] && echo "Could not find the successful contract deployment" && (exit 1)
121121
cat ./STATEFUL_TEST_DEPLOYED_ADDRESS
@@ -126,3 +126,10 @@ jobs:
126126
run: |
127127
docker compose -f "$GITHUB_WORKSPACE/stack-orchestrator/docker/local/docker-compose-go-ethereum.yml" exec go-ethereum /bin/bash /root/transaction_info/NEW_TRANSACTION
128128
echo $?
129+
130+
- name: Make sure we see entries in the header table
131+
shell: bash
132+
run: |
133+
rows=$(docker exec -i access-node psql -U vdbm -d vulcanize_testing_v4 -AXqtc "SELECT COUNT(*) FROM eth.header_cids")
134+
[[ "$rows" -lt "0" ]] && echo "We could not find any rows in postgres table." && (exit 1)
135+
echo $rows

0 commit comments

Comments
 (0)