Commit fe051120 authored by antirez's avatar antirez
Browse files

Sentinel test: check role at end of unit 01.

parent cf76fdd0
...@@ -33,3 +33,7 @@ test "After Sentinel 1 is restarted, its config gets updated" { ...@@ -33,3 +33,7 @@ test "After Sentinel 1 is restarted, its config gets updated" {
fail "Restarted Sentinel did not received failover info" fail "Restarted Sentinel did not received failover info"
} }
} }
test "New master [join $addr {:}] role matches" {
assert {[RI $master_id role] eq {master}}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment