GEODE-718 GEODE-725: Ensure that test resources are cleaned up from prior tests


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/a69a0dc0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/a69a0dc0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/a69a0dc0

Branch: refs/heads/feature/GEODE-715
Commit: a69a0dc0ea1b64f34920b18da654545de7d12268
Parents: 13a3adf
Author: Jens Deppe <jde...@pivotal.io>
Authored: Tue Jan 5 11:20:33 2016 -0800
Committer: Jens Deppe <jde...@pivotal.io>
Committed: Tue Jan 5 11:20:48 2016 -0800

----------------------------------------------------------------------
 .../gemfire/management/internal/cli/shell/GfshHistoryJUnitTest.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/a69a0dc0/gemfire-core/src/test/java/com/gemstone/gemfire/management/internal/cli/shell/GfshHistoryJUnitTest.java
----------------------------------------------------------------------
diff --git 
a/gemfire-core/src/test/java/com/gemstone/gemfire/management/internal/cli/shell/GfshHistoryJUnitTest.java
 
b/gemfire-core/src/test/java/com/gemstone/gemfire/management/internal/cli/shell/GfshHistoryJUnitTest.java
index 77e8785..3d4615a 100644
--- 
a/gemfire-core/src/test/java/com/gemstone/gemfire/management/internal/cli/shell/GfshHistoryJUnitTest.java
+++ 
b/gemfire-core/src/test/java/com/gemstone/gemfire/management/internal/cli/shell/GfshHistoryJUnitTest.java
@@ -46,6 +46,7 @@ public class GfshHistoryJUnitTest {
 
   @Before
   public void setUp() throws Exception {
+    teardown();
     gfshHistoryFile = tempDirectory.newFile("historyFile");
     gfshConfig = new GfshConfig(gfshHistoryFile.getAbsolutePath(),
         "",                                         // defaultPrompt

Reply via email to