From ead48c934f0a782351eb85e98aff56cbd1688aba Mon Sep 17 00:00:00 2001 From: aitbc Date: Wed, 29 Apr 2026 21:36:30 +0200 Subject: [PATCH] fix: Remove set -e from failover-simulation.sh to prevent early exit on unhealthy nodes - set -e causes script to exit immediately when check_rpc_health returns non-zero - This prevents script from counting all healthy nodes and applying skip logic - Remove set -e and handle errors manually --- scripts/multi-node/failover-simulation.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/multi-node/failover-simulation.sh b/scripts/multi-node/failover-simulation.sh index a603cb20..c400825d 100755 --- a/scripts/multi-node/failover-simulation.sh +++ b/scripts/multi-node/failover-simulation.sh @@ -5,7 +5,7 @@ # Uses RPC endpoints only, no SSH access (check logic only) # -set -e +# Don't use set -e - we handle errors manually SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" REPO_ROOT="$(cd "${SCRIPT_DIR}/../.." && pwd)"