From 6c3a36d675fbf40860465775a940f8fc070f9ce5 Mon Sep 17 00:00:00 2001 From: cdrappi Date: Tue, 13 Jan 2026 10:24:02 -0500 Subject: [PATCH] CI: clear reth state on start --- scripts/run_integration_tests.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/run_integration_tests.sh b/scripts/run_integration_tests.sh index 04cc054e..fe25fd0f 100755 --- a/scripts/run_integration_tests.sh +++ b/scripts/run_integration_tests.sh @@ -14,6 +14,13 @@ export RUST_LOG=info echo "๐Ÿš€ Starting integration tests..." +# Clean up stale state from previous runs to ensure fresh genesis +echo "๐Ÿงน Cleaning up stale state from previous runs..." +sudo supervisorctl stop all 2>/dev/null || true +sudo pkill -9 -f seismic-reth 2>/dev/null || true +sudo rm -rf /home/azureuser/.reth/ +sleep 2 + # Function to cleanup processes cleanup() { echo "๐Ÿงน Cleaning up processes..."