assertEquals("Node sleepy invalid shards: not-found", e.getMessage());
}
server.addShard("s1", null);
server.sleep(0L, 0, new String[] { "s1" });
try {
server.sleep(0L, 0, new String[] { "s1", "s2" });
} catch (IllegalArgumentException e) {
assertEquals("Node sleepy invalid shards: s2", e.getMessage());
}
server.addShard("s2", null);
server.sleep(0L, 0, new String[] { "s1", "s2" });