File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 4545 run : |
4646 python3 $ERIGON_QA_PATH/test_system/db-producer/pause_production.py || true
4747
48+ - name : Run previous Erigon version and wait for sync (stabilization step)
49+ id : pre_test_step
50+ run : |
51+ set +e # Disable exit on error
52+
53+ # Launch the testbed Erigon instance & test its ability to maintain sync for 2 minutes
54+ python3 $ERIGON_QA_PATH/test_system/qa-tests/tip-tracking/run_and_check_tip_tracking.py \
55+ ${{ env.ERIGON_REFERENCE_DATA_DIR }}/../ $ERIGON_REFERENCE_DATA_DIR 120 $TOTAL_TIME_SECONDS Erigon3 $CHAIN
56+
57+ # Capture monitoring script exit status
58+ test_exit_status=$?
59+
60+ # Save the subsection reached status
61+ echo "test_executed=true" >> $GITHUB_OUTPUT
62+
63+ # Clean up Erigon process if it's still running
64+ if kill -0 $ERIGON_PID 2> /dev/null; then
65+ echo "Terminating Erigon"
66+ kill $ERIGON_PID
67+ wait $ERIGON_PID
68+ fi
69+
70+ # Check test runner script exit status
71+ if [ $test_exit_status -eq 0 ]; then
72+ echo "Pre-sync step completed successfully"
73+ echo "::notice::Pre-sync step completed successfully"
74+ echo "TEST_RESULT=success" >> "$GITHUB_OUTPUT"
75+ else
76+ echo "Pre-sync step encountered an error"
77+ echo "::error::Pre-sync step encountered an error"
78+ echo "TEST_RESULT=failure" >> "$GITHUB_OUTPUT"
79+ exit 1
80+ fi
81+
4882 - name : Restore Erigon Testbed Data Directory & Erigon binary
4983 id : save_chaindata_step
5084 run : |
You can’t perform that action at this time.
0 commit comments