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/abb11d3a Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/abb11d3a Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/abb11d3a Branch: refs/heads/develop Commit: abb11d3a9d4fdb9462aa23cc54577eb27b032a6a Parents: d3bdb68 Author: Kirk Lund <kl...@pivotal.io> Authored: Thu Aug 13 13:22:02 2015 -0700 Committer: Kirk Lund <kl...@pivotal.io> Committed: Wed Aug 19 16:08:03 2015 -0700 ---------------------------------------------------------------------- .../golden/FailWithTimeoutOfWaitForOutputToMatchJUnitTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/abb11d3a/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