Sentinel test: check role at end of unit 01.

This commit is contained in:
antirez 2014-02-25 14:59:36 +01:00
parent fef88681f2
commit 339322fe58

View File

@ -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}}
}