geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From di...@apache.org
Subject [02/50] [abbrv] incubator-geode git commit: GEODE-454: Fix HAInterestPart1DUnitTest by adding expected exceptions
Date Tue, 10 Nov 2015 23:42:24 GMT
GEODE-454: Fix HAInterestPart1DUnitTest by adding expected exceptions

This test restarts 3 members while the client is connected. Like other fixes (see
GEODE-453), I think IOExceptions should be expected in this case also. I could
not reproduce this failure locally.


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

Branch: refs/heads/feature/GEODE-12
Commit: a40015476000b9e7f4d545fe5a1c473a744c6917
Parents: fc4bbfc
Author: Ashvin Agrawal <ashvin@apache.org>
Authored: Thu Oct 29 11:23:12 2015 -0700
Committer: Ashvin Agrawal <ashvin@apache.org>
Committed: Fri Oct 30 09:37:41 2015 -0700

----------------------------------------------------------------------
 .../internal/cache/tier/sockets/HAInterestPart1DUnitTest.java       | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/a4001547/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/tier/sockets/HAInterestPart1DUnitTest.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/tier/sockets/HAInterestPart1DUnitTest.java
b/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/tier/sockets/HAInterestPart1DUnitTest.java
index ba6e30f..482fca9 100755
--- a/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/tier/sockets/HAInterestPart1DUnitTest.java
+++ b/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/tier/sockets/HAInterestPart1DUnitTest.java
@@ -167,6 +167,7 @@ public class HAInterestPart1DUnitTest extends HAInterestBaseTest {
    */
   public void testInterstRegistrationOnRecoveredEPbyDSM() throws Exception {
     addExpectedException("SocketException");
+    addExpectedException("Unexpected IOException");
 
     createClientPoolCache(this.getName(), getServerHostName(server1.getHost()));
     createEntriesK1andK2();


Mime
View raw message