You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by bs...@apache.org on 2015/11/05 21:35:59 UTC

[22/50] [abbrv] incubator-geode git commit: GEODE-513:

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/feature/GEODE-77
Commit: c9df12a7057972b36ea5b62a3f59640f93c2ff50
Parents: a1162db
Author: zhouxh <gz...@pivotal.io>
Authored: Thu Oct 29 10:49:49 2015 -0700
Committer: zhouxh <gz...@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");