Permalink
Browse files

Sentinel test: check that role matches at end of 00-base.

  • Loading branch information...
antirez committed Feb 19, 2014
1 parent 2a08c7e commit a88a057a1faff1ffe6296b305cca4f0936c29ed8
Showing with 4 additions and 0 deletions.
  1. +4 −0 tests/sentinel-tests/00-base.tcl
@@ -161,3 +161,7 @@ test "Failover works if we configure for absolute agreement" {
}
}
+test "New master [join $addr {:}] role matches" {
+ assert {[RI $master_id role] eq {master}}
+}
+

0 comments on commit a88a057

Please sign in to comment.