> On Oct. 29, 2015, 9:01 p.m., Darrel Schneider wrote: > > gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/execute/PRClientServerRegionFunctionExecutionSingleHopDUnitTest.java, > > line 257 > > <https://reviews.apache.org/r/39763/diff/1/?file=1112263#file1112263line257> > > > > Why are these exceptions expected? > > The only exception I see this test throwing is: > > throw new FunctionInvocationTargetException( > > "I have been thrown from TestFunction"); > > > > So why would we see IOException and SocketException?
The test will throw an FunctionInvocationTargetException() at server, and caused the client thought the endpont is crashed. Here is the error msg: Redundant subscription endpoint gzhou-t440p.vmware.com:25790 crashed. Scheduling recovery. So the disconnecting is expected. - xiaojian ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/39763/#review104474 ----------------------------------------------------------- On Oct. 29, 2015, 6:02 p.m., xiaojian zhou wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/39763/ > ----------------------------------------------------------- > > (Updated Oct. 29, 2015, 6:02 p.m.) > > > Review request for geode and Dan Smith. > > > Bugs: GEODE-513 > https://issues.apache.org/jira/browse/GEODE-513 > > > Repository: geode > > > Description > ------- > > The test is to trigger some exceptions. So for these exception should add > expected exception to resolve the suspect strings. > > > Diffs > ----- > > > gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/execute/PRClientServerRegionFunctionExecutionSingleHopDUnitTest.java > c0b0d3c > > Diff: https://reviews.apache.org/r/39763/diff/ > > > Testing > ------- > > the dunit test case > > > Thanks, > > xiaojian zhou > >
