geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dschnei...@apache.org
Subject [23/35] incubator-geode git commit: GEODE-513:
Date Tue, 03 Nov 2015 19:38:55 GMT
GEODE-513:

add expected exceptions for the exception test.


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

Branch: refs/heads/develop
Commit: c9df12a7057972b36ea5b62a3f59640f93c2ff50
Parents: a1162db
Author: zhouxh <gzhou@pivotal.io>
Authored: Thu Oct 29 10:49:49 2015 -0700
Committer: zhouxh <gzhou@pivotal.io>
Committed: Thu Oct 29 11:02:14 2015 -0700

----------------------------------------------------------------------
 .../PRClientServerRegionFunctionExecutionSingleHopDUnitTest.java   | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/c9df12a7/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/execute/PRClientServerRegionFunctionExecutionSingleHopDUnitTest.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/execute/PRClientServerRegionFunctionExecutionSingleHopDUnitTest.java
b/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/execute/PRClientServerRegionFunctionExecutionSingleHopDUnitTest.java
index c0b0d3c..ec29d91 100644
--- a/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/execute/PRClientServerRegionFunctionExecutionSingleHopDUnitTest.java
+++ b/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/execute/PRClientServerRegionFunctionExecutionSingleHopDUnitTest.java
@@ -253,6 +253,8 @@ import dunit.DistributedTestCase;
      * After 5th attempt function will send Boolean as last result.
      */
     public void testserverMultiKeyExecution_FunctionInvocationTargetException() {
+      addExpectedException("FunctionException: IOException while sending");
+      addExpectedException("java.net.SocketException: Software caused connection abort");
       createScenario();
       client.invoke(PRClientServerRegionFunctionExecutionSingleHopDUnitTest.class,
           "serverMultiKeyExecution_FunctionInvocationTargetException");


Mime
View raw message