use different fixture
This commit is contained in:
parent
fd6fb99540
commit
f4fbbee9ed
@ -48,19 +48,18 @@ jobs:
|
|||||||
- name: Run basic integration test
|
- name: Run basic integration test
|
||||||
env:
|
env:
|
||||||
DATABASE_TYPE: postgres
|
DATABASE_TYPE: postgres
|
||||||
LEVELDB_PATH: ./fixtures/chaindata/_data/small
|
LEVELDB_PATH: ./fixtures/chaindata/_data/small2
|
||||||
LEVELDB_ANCIENT: ./fixtures/chaindata/_data/small/ancient
|
LEVELDB_ANCIENT: ./fixtures/chaindata/_data/small2/ancient
|
||||||
LOG_FILE: ./server-log
|
LOG_FILE: ./server-log
|
||||||
ETH_GENESIS_BLOCK: "0x37cbb63c7150a7b60f2878433963ed8ba7e5f82fb2683ec7a945c974e1cf4e05"
|
ETH_GENESIS_BLOCK: "0x8a3c7cddacbd1ab4ec1b03805fa2a287f3a75e43d87f4f987fcc399f5c042614"
|
||||||
ETH_CHAIN_ID: 4242
|
timeout-minutes: 20
|
||||||
timeout-minutes: 30
|
|
||||||
run: |
|
run: |
|
||||||
./eth-statediff-service --config ./test/ci-config.toml serve &
|
./eth-statediff-service --config ./test/ci-config.toml serve &
|
||||||
sleep 10
|
sleep 10
|
||||||
|
|
||||||
./scripts/request-range.sh 0 32 || (E=$?; cat $LOG_FILE; exit $E)
|
./scripts/request-range.sh 0 10 || (E=$?; cat $LOG_FILE; exit $E)
|
||||||
|
|
||||||
until grep "Finished processing block 32" $LOG_FILE
|
until grep "Finished processing block 10" $LOG_FILE
|
||||||
do sleep 1; done
|
do sleep 1; done
|
||||||
|
|
||||||
count_results() {
|
count_results() {
|
||||||
@ -69,11 +68,11 @@ jobs:
|
|||||||
psql -tA cerc_testing -U vdbm -c "$query"
|
psql -tA cerc_testing -U vdbm -c "$query"
|
||||||
}
|
}
|
||||||
set -x
|
set -x
|
||||||
[[ "$(count_results eth.header_cids)" = 33 ]]
|
[[ "$(count_results eth.header_cids)" = 11 ]]
|
||||||
[[ "$(count_results eth.state_cids)" = 21 ]]
|
[[ "$(count_results eth.state_cids)" = 287 ]]
|
||||||
[[ "$(count_results eth.storage_cids)" = 18 ]]
|
[[ "$(count_results eth.storage_cids)" = 31 ]]
|
||||||
[[ "$(count_results eth.transaction_cids)" = 10 ]]
|
[[ "$(count_results eth.transaction_cids)" = 144 ]]
|
||||||
[[ "$(count_results eth.receipt_cids)" = 10 ]]
|
[[ "$(count_results eth.receipt_cids)" = 144 ]]
|
||||||
|
|
||||||
compliance-test:
|
compliance-test:
|
||||||
name: Run compliance tests
|
name: Run compliance tests
|
||||||
@ -124,7 +123,6 @@ jobs:
|
|||||||
LEVELDB_ANCIENT: ./fixtures/chaindata/_data/small2/ancient
|
LEVELDB_ANCIENT: ./fixtures/chaindata/_data/small2/ancient
|
||||||
ETH_GENESIS_BLOCK: "0x8a3c7cddacbd1ab4ec1b03805fa2a287f3a75e43d87f4f987fcc399f5c042614"
|
ETH_GENESIS_BLOCK: "0x8a3c7cddacbd1ab4ec1b03805fa2a287f3a75e43d87f4f987fcc399f5c042614"
|
||||||
ETH_CHAIN_CONFIG: ./eth-statediff-service/test/ci-chain.json
|
ETH_CHAIN_CONFIG: ./eth-statediff-service/test/ci-chain.json
|
||||||
ETH_CHAIN_ID: 1212
|
|
||||||
run: |
|
run: |
|
||||||
until
|
until
|
||||||
ready_query='select max(version_id) from goose_db_version;'
|
ready_query='select max(version_id) from goose_db_version;'
|
||||||
|
Loading…
Reference in New Issue
Block a user