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

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

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

Bugfix/GEODE-10228 DurableClientTestCase.testDurableHAFailover is failing 
(#7608)


- The test was failing because it didn't wait for the
HARegionQueue to clear before shutting down the durable
client for test. Thus when it came back up, there was
an extra message in the queue.

- Reverse the order of readyforevents and registerinterest

- adding a close for the control listener

- Starting the server is not synchronous adjusted test accordingly


> CI Failure: DurableClientTestCase > testDurableHAFailover times out in await 
> for failover
> -----------------------------------------------------------------------------------------
>
>                 Key: GEODE-10228
>                 URL: https://issues.apache.org/jira/browse/GEODE-10228
>             Project: Geode
>          Issue Type: Bug
>          Components: client/server, tests
>    Affects Versions: 1.15.0
>            Reporter: Kirk Lund
>            Assignee: Mark Hanson
>            Priority: Major
>              Labels: pull-request-available
>
> {{testDurableHAFailover}} has a history of flakiness, thought the stacks do 
> seem to have changed some since the older versions of the but were resolved.
> {noformat}
> urableClientTestCase > testDurableHAFailover FAILED
>     org.apache.geode.test.dunit.RMIException: While invoking 
> org.apache.geode.test.dunit.internal.IdentifiableRunnable.run in VM 2 running 
> on Host 
> heavy-lifter-7bbf0b58-8bc0-5ca8-840d-7bcf83293b6d.c.apachegeode-ci.internal 
> with 4 VMs
>         at org.apache.geode.test.dunit.VM.executeMethodOnObject(VM.java:631)
>         at org.apache.geode.test.dunit.VM.invoke(VM.java:435)
>         at 
> org.apache.geode.internal.cache.tier.sockets.DurableClientTestCase.durableFailover(DurableClientTestCase.java:520)
>         at 
> org.apache.geode.internal.cache.tier.sockets.DurableClientTestCase.testDurableHAFailover(DurableClientTestCase.java:439)
>         Caused by:
>         org.awaitility.core.ConditionTimeoutException: Assertion condition 
> defined as a lambda expression in 
> org.apache.geode.internal.cache.tier.sockets.DurableClientTestCase 
>         expected: null
>          but was: "0"="0" within 5 minutes.
>             at 
> org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
>             at 
> org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
>             at 
> org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
>             at 
> org.awaitility.core.ConditionFactory.until(ConditionFactory.java:985)
>             at 
> org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:769)
>             at 
> org.apache.geode.internal.cache.tier.sockets.DurableClientTestCase.lambda$durableFailover$3f73998b$1(DurableClientTestCase.java:521)
>             Caused by:
>             org.opentest4j.AssertionFailedError: 
>             expected: null
>              but was: "0"="0"
>                 at 
> sun.reflect.GeneratedConstructorAccessor199.newInstance(Unknown Source)
>                 at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>                 at 
> org.apache.geode.internal.cache.tier.sockets.DurableClientTestCase.lambda$null$2(DurableClientTestCase.java:525)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to