summaryrefslogtreecommitdiff
path: root/tests/sentinel/tests/01-conf-update.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sentinel/tests/01-conf-update.tcl')
-rw-r--r--tests/sentinel/tests/01-conf-update.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sentinel/tests/01-conf-update.tcl b/tests/sentinel/tests/01-conf-update.tcl
index d45b1b08e..5dca55601 100644
--- a/tests/sentinel/tests/01-conf-update.tcl
+++ b/tests/sentinel/tests/01-conf-update.tcl
@@ -3,7 +3,7 @@
source "../tests/includes/init-tests.tcl"
test "We can failover with Sentinel 1 crashed" {
- set old_port [RI $master_id tcp_port]
+ set old_port [RPort $master_id]
set addr [S 0 SENTINEL GET-MASTER-ADDR-BY-NAME mymaster]
assert {[lindex $addr 1] == $old_port}