Skip to content

Commit

Permalink
ZK-626: Add option to keep node after tests (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
obrok authored Dec 27, 2024
1 parent 5212aba commit 1189ddf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tooling-e2e-tests/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ cleanup() {
log_progress "🗒 Relayer logs saved to relayer-output.log"
stop_relayer

if [[ ! -n "${TESTNET:-}" ]]; then
if [[ -z "${TESTNET:-}" ]] && [[ -z "${KEEP_NODE:-}" ]]; then
log_progress "🗒 Stopping anvil node"
stop_node
fi
}

0 comments on commit 1189ddf

Please sign in to comment.