Skip to content

Commit

Permalink
tip-tracking: use full node and increase test time on polygon (erigon…
Browse files Browse the repository at this point in the history
…tech#13437)

To speed up erigon on polygon and avoid it not reaching the tip in the
expected test times when the pre build db is old, we opt to run in full
node instead of archive node.

We also extend the test times as required to be able to see spikes on
the block_consumer_delay metric
  • Loading branch information
mriccobene authored Jan 23, 2025
1 parent 0d300af commit 349fe3b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/qa-tip-tracking-polygon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
ERIGON_REFERENCE_DATA_DIR: /opt/erigon-versions/reference-version/datadir
ERIGON_TESTBED_DATA_DIR: /opt/erigon-testbed/datadir
ERIGON_QA_PATH: /home/qarunner/erigon-qa
TRACKING_TIME_SECONDS: 14400 # 4 hours
TOTAL_TIME_SECONDS: 28800 # 8 hours
TRACKING_TIME_SECONDS: 21600 # 6 hours
TOTAL_TIME_SECONDS: 43200 # 12 hours
CHAIN: bor-mainnet

steps:
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
# 2. Allow time for the Erigon to achieve synchronization
# 3. Begin timing the duration that Erigon maintains synchronization
python3 $ERIGON_QA_PATH/test_system/qa-tests/tip-tracking/run_and_check_tip_tracking.py \
${{ github.workspace }}/build/bin $ERIGON_TESTBED_DATA_DIR $TRACKING_TIME_SECONDS $TOTAL_TIME_SECONDS Erigon3 $CHAIN
${{ github.workspace }}/build/bin $ERIGON_TESTBED_DATA_DIR $TRACKING_TIME_SECONDS $TOTAL_TIME_SECONDS Erigon3 $CHAIN full_node
# Capture monitoring script exit status
test_exit_status=$?
Expand Down

0 comments on commit 349fe3b

Please sign in to comment.