mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 16:10:50 +00:00
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.
This commit is contained in:
parent
6b373edb77
commit
29f4df8018
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user