// client side should get exceptions from servers
  @Test
  public void testFailures() {

    for (StreamOperations operation : StreamOperations.values()) {
      try {
        doOperation(operation, 0, failingStorageEngine.getName(), Arrays.asList(0, 1));
        fail("Unit test should fail for " + operation);
      } catch (Exception e) {
        // ignore
      }
    }
  }
 @Test
 public void testWithStartFailure() {
   // put some entries in store
   for (StreamOperations operation : StreamOperations.values()) {
     adminServer.stop();
     try {
       doOperation(operation, 0, failingStorageEngine.getName(), Arrays.asList(0, 1));
       fail();
     } catch (UnreachableStoreException e) {
       // ignore
     }
   }
 }