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

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


The following commit(s) were added to refs/heads/develop by this push:
     new 84b8239  GEODE-4915: Ignore the 'for testing' exception (#1752)
84b8239 is described below

commit 84b823908461a69dc6e020de3e937ccde771568b
Author: Kenneth Howe <kh...@pivotal.io>
AuthorDate: Tue Apr 10 07:56:47 2018 -0700

    GEODE-4915: Ignore the 'for testing' exception (#1752)
    
    * GEODE-4915: Ignore the 'for testing' exception
---
 .../internal/configuration/ClusterConfigLocatorRestartDUnitTest.java   | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/geode-core/src/test/java/org/apache/geode/management/internal/configuration/ClusterConfigLocatorRestartDUnitTest.java
 
b/geode-core/src/test/java/org/apache/geode/management/internal/configuration/ClusterConfigLocatorRestartDUnitTest.java
index ae67f24..9b82884 100644
--- 
a/geode-core/src/test/java/org/apache/geode/management/internal/configuration/ClusterConfigLocatorRestartDUnitTest.java
+++ 
b/geode-core/src/test/java/org/apache/geode/management/internal/configuration/ClusterConfigLocatorRestartDUnitTest.java
@@ -46,6 +46,8 @@ public class ClusterConfigLocatorRestartDUnitTest {
 
   @Test
   public void serverRestartsAfterLocatorReconnects() throws Exception {
+    
IgnoredException.addIgnoredException("org.apache.geode.ForcedDisconnectException:
 for testing");
+
     Properties props = new Properties();
     props.setProperty(ConfigurationProperties.MAX_WAIT_TIME_RECONNECT, "5000");
     MemberVM locator0 = rule.startLocatorVM(0, props);
@@ -73,6 +75,7 @@ public class ClusterConfigLocatorRestartDUnitTest {
   public void serverRestartsAfterOneLocatorDies() throws Exception {
     IgnoredException.addIgnoredException("This member is no longer in the 
membership view");
     IgnoredException.addIgnoredException("This node is no longer in the 
membership view");
+    
IgnoredException.addIgnoredException("org.apache.geode.ForcedDisconnectException:
 for testing");
 
     // Otherwise we get a graceful shutdown...
     Host.getHost(0).getVM(0).invoke(() -> {

-- 
To stop receiving notification emails like this one, please contact
kh...@apache.org.

Reply via email to