Fail if the Sentinel does not return the slave.

This commit is contained in:
Hisham Mardam-Bey
2013-08-21 23:00:13 -04:00
committed by Hisham Mardam-Bey
parent 33e64bdb6e
commit d377bcf6d3

View File

@@ -49,6 +49,7 @@ public class JedisSentinelTest {
assertEquals("6379", masterHostAndPort.get(1));
List<Map<String, String>> slaves = j.sentinelSlaves(masterName);
assertEquals(1, slaves.size());
assertEquals("6379", slaves.get(0).get("master-port"));
List<? extends Object> isMasterDownByAddr = j