summaryrefslogtreecommitdiff
path: root/tests/instances.tcl
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2015-01-21 16:18:34 +0100
committerantirez <antirez@gmail.com>2015-01-21 16:18:34 +0100
commitb3bf7584b0aa5c2dbc1acf4d7f6b2c3d420e8e42 (patch)
treef1f67503c0875a0ead54eb6b3038f506c81ed68e /tests/instances.tcl
parenta5bb0a0774fbe89d72de13624b23079031674932 (diff)
downloadredis-b3bf7584b0aa5c2dbc1acf4d7f6b2c3d420e8e42.tar.gz
Cluster/Sentinel test: also pause on abort_sentinel_test call.
Diffstat (limited to 'tests/instances.tcl')
-rw-r--r--tests/instances.tcl1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/instances.tcl b/tests/instances.tcl
index 4e2f33dfc..a68b79d11 100644
--- a/tests/instances.tcl
+++ b/tests/instances.tcl
@@ -105,6 +105,7 @@ proc cleanup {} {
proc abort_sentinel_test msg {
puts "WARNING: Aborting the test."
puts ">>>>>>>> $msg"
+ if {$::pause_on_error} pause_on_error
cleanup
exit 1
}