Permalink
Browse files

Sentinel test: removed useless code to set SDOWN timeout.

The new common initialization code used to start a new unit already set
the timeout to 2000 milliseconds.
  • Loading branch information...
1 parent 6b373ed commit 29f4df801815712d70154a43103d815b006e5546 @antirez committed Feb 24, 2014
Showing with 0 additions and 4 deletions.
  1. +0 −4 tests/sentinel-tests/01-conf-update.tcl
View
4 tests/sentinel-tests/01-conf-update.tcl
@@ -3,10 +3,6 @@
source "../sentinel-tests/includes/init-tests.tcl"
test "We can failover with Sentinel 1 crashed" {
- foreach_sentinel_id id {
- S $id SENTINEL SET mymaster down-after-milliseconds 2000
- }
-
set old_port [RI $master_id tcp_port]
set addr [S 0 SENTINEL GET-MASTER-ADDR-BY-NAME mymaster]
assert {[lindex $addr 1] == $old_port}

0 comments on commit 29f4df8

Please sign in to comment.