[ 
https://issues.apache.org/jira/browse/GEODE-9103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17361885#comment-17361885
 ] 

ASF subversion and git services commented on GEODE-9103:
--------------------------------------------------------

Commit 5df584bf4e9504e667ac70dd551a310c4921b53d in geode's branch 
refs/heads/develop from Kirk Lund
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=5df584b ]

GEODE-9103: Fix failures in PutAllClientServerDistributedTest (#6542)

Prevent ServerConnectivityExceptions when test encounters long GCs or
slow CPUs.

Add test-only system property to AbstractCacheServer for
maximumTimeBetweenPings.

Use system property to set maximumTimeBetweenPings to GeodeAwaitility
timeout.

Use GeodeAwaitility timeout for client pool readTimeout.

Remove unnecessary client pool settings within each test.

Inline getCause within Throwable assertions.

Fixes GEODE-8528, GEODE-9103, GEODE-9242, GEODE-9296.

> CI Failure: PutAllClientServerDistributedTest.testPutAllReturnsExceptions 
> FAILED
> --------------------------------------------------------------------------------
>
>                 Key: GEODE-9103
>                 URL: https://issues.apache.org/jira/browse/GEODE-9103
>             Project: Geode
>          Issue Type: Bug
>          Components: tests
>    Affects Versions: 1.15.0
>            Reporter: Mark Hanson
>            Assignee: Kirk Lund
>            Priority: Major
>              Labels: GeodeOperationAPI, pull-request-available
>
> {noformat}
> org.apache.geode.internal.cache.PutAllClientServerDistributedTest > 
> testPutAllReturnsExceptions FAILED
> 17:13:44    org.apache.geode.test.dunit.RMIException: While invoking 
> org.apache.geode.internal.cache.PutAllClientServerDistributedTest$$Lambda$613/835527630.run
>  in VM 2 running on Host de2767658753 with 4 VMs
> 17:13:44        at 
> org.apache.geode.test.dunit.VM.executeMethodOnObject(VM.java:631)
> 17:13:44        at org.apache.geode.test.dunit.VM.invoke(VM.java:448)
> 17:13:44        at 
> org.apache.geode.internal.cache.PutAllClientServerDistributedTest.testPutAllReturnsExceptions(PutAllClientServerDistributedTest.java:1956)
> 17:13:44
> 17:13:44        Caused by:
> 17:13:44        java.lang.AssertionError: 
> 17:13:44        Expecting actual throwable to be an instance of:
> 17:13:44          org.apache.geode.cache.client.ServerOperationException
> 17:13:44        but was:
> 17:13:44          org.apache.geode.cache.client.ServerConnectivityException: 
> Pool unexpected closed socket on server connection=Pooled Connection to 
> de2767658753:36547,172.17.0.10(245)<v119>:41001: Connection[DESTROYED]). 
> Server unreachable: could not connect after 1 attempts
> 17:13:44              at 
> org.apache.geode.cache.client.internal.OpExecutorImpl.handleException(OpExecutorImpl.java:665)
> 17:13:44              at 
> org.apache.geode.cache.client.internal.OpExecutorImpl.handleException(OpExecutorImpl.java:507)
> 17:13:44              at 
> org.apache.geode.cache.client.internal.OpExecutorImpl.execute(OpExecutorImpl.java:157)
> 17:13:44              ...(35 remaining lines not displayed - this can be 
> changed with Assertions.setMaxStackTraceElementsDisplayed)
> 17:13:44            at 
> org.apache.geode.internal.cache.PutAllClientServerDistributedTest.lambda$testPutAllReturnsExceptions$bb17a952$6(PutAllClientServerDistributedTest.java:1961)
> 17:16 {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to