Skip to content

Commit

Permalink
Issue #25: cleaning up test case
Browse files Browse the repository at this point in the history
  • Loading branch information
sriramkrishnan committed Sep 7, 2013
1 parent f3a33d5 commit fe23479
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@ public void testJobJanitor() throws Exception {
int numRows = janitor.markZombies();
System.out.println("Number of rows marked as zombies: " + numRows);
Assert.assertEquals(numRows >= 2, true);

// shut down cleanly
PersistenceManager.shutdown();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

import com.netflix.config.ConfigurationManager;
import com.netflix.genie.common.exceptions.CloudServiceException;
import com.netflix.genie.server.persistence.PersistenceManager;

/**
* Test case for GenieNodeStatistics.
Expand Down Expand Up @@ -164,5 +165,6 @@ public void testRunningJobs() throws InterruptedException, CloudServiceException
public static void shutdown() {
// shut down cleanly
stats.shutdown();
PersistenceManager.shutdown();
}
}

0 comments on commit fe23479

Please sign in to comment.