startDefaultMasterDontWaitForZK(new MockCuratorClientFactory(), "--zk-connection-timeout", "1");
final HeliosClient client = defaultClient();
try {
final String result = client.listMasters().get().get(0);
fail("Exception should have been thrown, as ZK doesnt exist - got " + result);
} catch (ExecutionException e) {
assertTrue(e.getCause() instanceof HeliosException);