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

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

Commit bc9860eacf74d2c11134b5338cea2ad35e5200f0 in geode's branch 
refs/heads/develop from Ivan Godwin
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=bc9860e ]

GEODE-7210: Fix RedundancyLevelPart1DUnitTest

Changes made to address flakiness:

- Inline super
- Implement Serializable
- Use Dunit rules DistributedRule and CacheRule
- Use AssertJ
- Use setup and teardown methods
- CountdownLatch rather than Thread.sleep
- No static methods
- Delete ignored tests

> RedundancyLevelPart1DUnitTest.testRedundancySpecifiedNonPrimaryEPFailsDetectionByCCU
>  fails intermittently with CacheClientProxy was not fulfilled
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-7210
>                 URL: https://issues.apache.org/jira/browse/GEODE-7210
>             Project: Geode
>          Issue Type: Bug
>          Components: client/server
>            Reporter: Darrel Schneider
>            Assignee: Ivan Godwin
>            Priority: Major
>              Labels: flaky
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> It failed in this run: 
> https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-main/jobs/DistributedTestOpenJDK8/builds/1098
> {noformat}
> org.apache.geode.internal.cache.tier.sockets.RedundancyLevelPart1DUnitTest > 
> testRedundancySpecifiedNonPrimaryEPFailsDetectionByCCU FAILED
>     org.apache.geode.test.dunit.RMIException: While invoking 
> org.apache.geode.internal.cache.tier.sockets.RedundancyLevelPart1DUnitTest$$Lambda$180/1742098249.run
>  in VM 2 running on Host 672aa6424308 with 4 VMs
>         at org.apache.geode.test.dunit.VM.executeMethodOnObject(VM.java:579)
>         at org.apache.geode.test.dunit.VM.invoke(VM.java:406)
>         at 
> org.apache.geode.internal.cache.tier.sockets.RedundancyLevelPart1DUnitTest.testRedundancySpecifiedNonPrimaryEPFailsDetectionByCCU(RedundancyLevelPart1DUnitTest.java:237)
>         Caused by:
>         org.awaitility.core.ConditionTimeoutException: Condition with lambda 
> expression in 
> org.apache.geode.internal.cache.tier.sockets.RedundancyLevelTestBase that 
> uses org.apache.geode.internal.cache.tier.sockets.CacheClientProxy was not 
> fulfilled within 300 seconds.
> {noformat}



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

Reply via email to