@After
 public void cleanup()
     throws IOException, CliException, OperationException, TimeoutException, InterruptedException {
   try {
     ops.removeIfExists(TEST_DATASOURCE_ADDRESS);
     administration.reloadIfRequired();
   } finally {
     client.close();
   }
 }
示例#2
0
 private static RuntimeException sneakyThrow(Throwable t) {
   Administration.<RuntimeException>sneakyThrow0(t);
   return null; // dead code
 }