diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 064c1ec..38a3ad9 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -125,5 +125,12 @@ jobs: LEVELDB_ANCIENT: ./fixtures/chaindata/_data/small2/ancient ETH_GENESIS_BLOCK: "0x8a3c7cddacbd1ab4ec1b03805fa2a287f3a75e43d87f4f987fcc399f5c042614" run: | + until + ready_query='select max(version_id) from goose_db_version;' + version=$(docker exec -e PGPASSWORD=password test-ipld-eth-db-1 \ + psql -tA cerc_testing -U vdbm -c "$ready_query") + [[ "$version" -ge 18 ]] + do sleep 1; done + ./ipld-eth-state-snapshot/scripts/compare-snapshots.sh \ ./snapshot-canonical ./snapshot-current