GEODE-209: Change subTearDown to destroy process

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

Branch: refs/heads/feature/GEODE-77
Commit: 29145676960c7d75f1da04cf618f71f6a399eda7
Parents: 41d0492
Author: Kirk Lund <kl...@pivotal.io>
Authored: Thu Aug 13 13:22:02 2015 -0700
Committer: Kirk Lund <kl...@pivotal.io>
Committed: Fri Aug 14 09:40:55 2015 -0700

----------------------------------------------------------------------
 .../golden/FailWithTimeoutOfWaitForOutputToMatchJUnitTest.java    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/29145676/gemfire-core/src/test/java/com/gemstone/gemfire/test/golden/FailWithTimeoutOfWaitForOutputToMatchJUnitTest.java
----------------------------------------------------------------------
diff --git 
a/gemfire-core/src/test/java/com/gemstone/gemfire/test/golden/FailWithTimeoutOfWaitForOutputToMatchJUnitTest.java
 
b/gemfire-core/src/test/java/com/gemstone/gemfire/test/golden/FailWithTimeoutOfWaitForOutputToMatchJUnitTest.java
index 1b8a312..bd55e6b 100755
--- 
a/gemfire-core/src/test/java/com/gemstone/gemfire/test/golden/FailWithTimeoutOfWaitForOutputToMatchJUnitTest.java
+++ 
b/gemfire-core/src/test/java/com/gemstone/gemfire/test/golden/FailWithTimeoutOfWaitForOutputToMatchJUnitTest.java
@@ -16,8 +16,7 @@ public class FailWithTimeoutOfWaitForOutputToMatchJUnitTest 
extends FailOutputTe
   private ProcessWrapper process;
   
   public void subTearDown() throws Exception {
-    this.process.waitFor();
-    assertFalse(this.process.isAlive());
+    this.process.destroy();
   }
   
   @Override

Reply via email to