From 64566543070d53d5c0fb9087b506582517de50e5 Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Thu, 2 Mar 2017 13:18:13 -0500 Subject: [PATCH] test: add extra kill after fail index triggered --- test/persist/test_failure_indices.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/persist/test_failure_indices.sh b/test/persist/test_failure_indices.sh index 81721e65e..701d8c1ff 100644 --- a/test/persist/test_failure_indices.sh +++ b/test/persist/test_failure_indices.sh @@ -58,10 +58,9 @@ for failIndex in $(seq $failsStart $failsEnd); do bash ./test/utils/txs.sh "localhost:46657" & start_procs 1 "$failIndex" - # tendermint should fail when it hits the fail index - kill -9 "$PID_DUMMY" - wait "$PID_DUMMY" - wait "$PID_TENDERMINT" + # tendermint should already have paniced when it hits the fail index + # but kill -9 for OS cleanup + kill_procs start_procs 2