You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by je...@apache.org on 2017/10/04 22:08:10 UTC

[geode] 02/02: GEODE-3542: Make sure that gfsh is stopped properly at the end of tests

This is an automated email from the ASF dual-hosted git repository.

jensdeppe pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git

commit 51bcce5f7121b35a4ab8a3d2bc6525411fa620de
Author: Jens Deppe <jd...@pivotal.io>
AuthorDate: Wed Oct 4 14:53:07 2017 -0700

    GEODE-3542: Make sure that gfsh is stopped properly at the end of tests
    
    - This was causing subsequent tests to fail
---
 .../geode/management/internal/cli/shell/GfshInitFileJUnitTest.java      | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/geode-core/src/test/java/org/apache/geode/management/internal/cli/shell/GfshInitFileJUnitTest.java b/geode-core/src/test/java/org/apache/geode/management/internal/cli/shell/GfshInitFileJUnitTest.java
index 5d61333..ca89f06 100755
--- a/geode-core/src/test/java/org/apache/geode/management/internal/cli/shell/GfshInitFileJUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/management/internal/cli/shell/GfshInitFileJUnitTest.java
@@ -110,6 +110,8 @@ public class GfshInitFileJUnitTest {
       System.setProperty(ConfigurationFactory.CONFIGURATION_FILE_PROPERTY, saveLog4j2Config);
       ((LoggerContext) LogManager.getContext(false)).reconfigure();
     }
+
+    Gfsh.getCurrentInstance().stop();
   }
 
   @Before

-- 
To stop receiving notification emails like this one, please contact
"commits@geode.apache.org" <co...@geode.apache.org>.