Пример #1
0
 private void tryCloseProviderServer() {
   if (providerServerDeployer == null) return;
   try {
     providerServerDeployer.terminate();
   } catch (ProActiveException e) {
     ProActiveLogger.logEatedException(
         logger, "Could not close correctly the ProActive provider", e);
   }
   providerServerDeployer = null;
 }
  @AfterClass
  public static void tearDown() throws ProActiveException {
    server.terminate();

    router.stop();

    VFSMountManagerHelper.terminate();

    if (spacesDir != null && spacesDir.exists()) {
      assertTrue(AbstractIOOperationsBase.deleteRecursively(spacesDir));
      spacesDir = null;
    }
  }