summaryrefslogtreecommitdiff
path: root/tests/cluster/tests
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2015-03-22 22:58:53 +0100
committerantirez <antirez@gmail.com>2015-03-22 22:58:53 +0100
commit9b0bcf25e1407a610f71704db17394e6d6be6622 (patch)
tree7adb635bbc55003e450977d7b125e3bf4f7bc77c /tests/cluster/tests
parentf300680408c3c444f773dd0de27f8641d4cb7184 (diff)
downloadredis-9b0bcf25e1407a610f71704db17394e6d6be6622.tar.gz
Cluster: unit 10 modified to leave cluster in proper state.
Diffstat (limited to 'tests/cluster/tests')
-rw-r--r--tests/cluster/tests/10-manual-failover.tcl5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/cluster/tests/10-manual-failover.tcl b/tests/cluster/tests/10-manual-failover.tcl
index 5fa3d32bf..5441b79f3 100644
--- a/tests/cluster/tests/10-manual-failover.tcl
+++ b/tests/cluster/tests/10-manual-failover.tcl
@@ -185,3 +185,8 @@ test "Instance #5 is a master after some time" {
fail "Instance #5 is not a master after some time regardless of FORCE"
}
}
+
+test "Wait for instance #0 to return back alive" {
+ R 0 deferred 0
+ assert {[R 0 read] eq {OK}}
+}