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

Bruce Schuchardt commented on GEODE-2556:
-----------------------------------------

I think the problem with this RollingUpgradeDUnitTest is that it creates a 
region with Scope NO_ACK.  It is failing in the initial population of the cache 
when operations haven't been distributed after a short sleep.  Changing the 
scope to ACK ought to let us remove the sleep and make the test more reliable.

> RollingUpgradeDUnitTest.testRollServersOnPersistentRegion_dataserializable[0] 
> fails intermittently
> --------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-2556
>                 URL: https://issues.apache.org/jira/browse/GEODE-2556
>             Project: Geode
>          Issue Type: Bug
>          Components: tests
>            Reporter: Kirk Lund
>            Assignee: Bruce Schuchardt
>            Priority: Major
>              Labels: Flaky
>
> I've seen this fail off and on in precheckin, but it always passes when I run 
> it by itself.
> {noformat}
> org.apache.geode.internal.cache.rollingupgrade.RollingUpgradeDUnitTest > 
> testRollServersOnPersistentRegion_dataserializable[0] FAILED
>     org.apache.geode.test.dunit.RMIException: While invoking 
> org.apache.geode.internal.cache.rollingupgrade.RollingUpgradeDUnitTest$12.run 
> in VM 1 running on Host d8f0ab20fb04 with 4 VMs
>         at org.apache.geode.test.dunit.VM.invoke(VM.java:377)
>         at org.apache.geode.test.dunit.VM.invoke(VM.java:347)
>         at org.apache.geode.test.dunit.VM.invoke(VM.java:292)
>         at 
> org.apache.geode.internal.cache.rollingupgrade.RollingUpgradeDUnitTest.putDataSerializableAndVerify(RollingUpgradeDUnitTest.java:294)
>         at 
> org.apache.geode.internal.cache.rollingupgrade.RollingUpgradeDUnitTest.putAndVerify(RollingUpgradeDUnitTest.java:246)
>         at 
> org.apache.geode.internal.cache.rollingupgrade.RollingUpgradeDUnitTest.doTestRollAll(RollingUpgradeDUnitTest.java:206)
>         at 
> org.apache.geode.internal.cache.rollingupgrade.RollingUpgradeDUnitTest.testRollServersOnPersistentRegion_dataserializable(RollingUpgradeDUnitTest.java:134)
>     Caused by:
>     java.lang.Error: Entry for key:25 does not exist
>         at 
> org.apache.geode.internal.cache.rollingupgrade.RollingUpgradeDUnitTest.assertEntryExists(RollingUpgradeDUnitTest.java:797)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to