diff --git a/tests/sentinel-tests/01-conf-update.tcl b/tests/sentinel-tests/01-conf-update.tcl index 3cf26926..4625ebd4 100644 --- a/tests/sentinel-tests/01-conf-update.tcl +++ b/tests/sentinel-tests/01-conf-update.tcl @@ -33,3 +33,7 @@ test "After Sentinel 1 is restarted, its config gets updated" { fail "Restarted Sentinel did not received failover info" } } + +test "New master [join $addr {:}] role matches" { + assert {[RI $master_id role] eq {master}} +}