Skip to content

Commit

Permalink
Sentinel test: use 1000 as retry in initial 00 unit test.
Browse files Browse the repository at this point in the history
  • Loading branch information
antirez committed Mar 3, 2014
1 parent 1734f7a commit 35e8bc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/sentinel-tests/00-base.tcl
Expand Up @@ -8,7 +8,7 @@ test "Basic failover works if the master is down" {
assert {[lindex $addr 1] == $old_port}
kill_instance redis $master_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
} else {
fail "At least one Sentinel did not received failover info"
Expand Down

0 comments on commit 35e8bc3

Please sign in to comment.