Commit 35e8bc30 authored by antirez's avatar antirez
Browse files

Sentinel test: use 1000 as retry in initial 00 unit test.

parent 1734f7ae
...@@ -8,7 +8,7 @@ test "Basic failover works if the master is down" { ...@@ -8,7 +8,7 @@ test "Basic failover works if the master is down" {
assert {[lindex $addr 1] == $old_port} assert {[lindex $addr 1] == $old_port}
kill_instance redis $master_id kill_instance redis $master_id
foreach_sentinel_id id { foreach_sentinel_id id {
wait_for_condition 100 50 { wait_for_condition 1000 50 {
[lindex [S $id SENTINEL GET-MASTER-ADDR-BY-NAME mymaster] 1] != $old_port [lindex [S $id SENTINEL GET-MASTER-ADDR-BY-NAME mymaster] 1] != $old_port
} else { } else {
fail "At least one Sentinel did not received failover info" fail "At least one Sentinel did not received failover info"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment