GEODE-420: Fixing Flaky test ignored exception

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

Branch: refs/heads/develop
Commit: 12e73a9acab967062402ef574cd43651776d352c
Parents: 981f2f0
Author: Udo Kohlmeyer <[email protected]>
Authored: Fri Aug 19 07:24:58 2016 +1000
Committer: Udo Kohlmeyer <[email protected]>
Committed: Fri Aug 19 07:24:58 2016 +1000

----------------------------------------------------------------------
 .../java/com/gemstone/gemfire/distributed/LocatorDUnitTest.java   | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/12e73a9a/geode-core/src/test/java/com/gemstone/gemfire/distributed/LocatorDUnitTest.java
----------------------------------------------------------------------
diff --git 
a/geode-core/src/test/java/com/gemstone/gemfire/distributed/LocatorDUnitTest.java
 
b/geode-core/src/test/java/com/gemstone/gemfire/distributed/LocatorDUnitTest.java
index 7d95e4a..851cff4 100755
--- 
a/geode-core/src/test/java/com/gemstone/gemfire/distributed/LocatorDUnitTest.java
+++ 
b/geode-core/src/test/java/com/gemstone/gemfire/distributed/LocatorDUnitTest.java
@@ -557,6 +557,8 @@ public class LocatorDUnitTest extends 
JUnit4DistributedTestCase {
     IgnoredException expectedException2 = 
IgnoredException.addIgnoredException("unable to find valid certification path 
to requested target");
     IgnoredException expectedException3 = 
IgnoredException.addIgnoredException("Received fatal alert: 
certificate_unknown");
     disconnectAllFromDS();
+    IgnoredException expectedException4 = 
IgnoredException.addIgnoredException("Unrecognized SSL message, plaintext 
connection");
+    disconnectAllFromDS();
     Host host = Host.getHost(0);
     VM loc1 = host.getVM(1);
     VM loc2 = host.getVM(2);
@@ -605,6 +607,7 @@ public class LocatorDUnitTest extends 
JUnit4DistributedTestCase {
         expectedException.remove();
         expectedException2.remove();
         expectedException3.remove();
+        expectedException4.remove();
       }
     }
   }

Reply via email to