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

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

Commit 511e131af08f5aa622021d0d54791dba54fdc8f5 in geode's branch 
refs/heads/develop from [~bschuchardt]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=511e131 ]

GEODE-2556 
RollingUpgradeDUnitTest.testRollServersOnPersistentRegion_dataserializable[0] 
fails intermittently

Most of the tests in this class use region shortcuts to create a Region
but those that use persistent regions were not & were failing to set
the Scope to DISTRIBUTED_ACK.  To compensate for the use of the default
DISTRIBUTED_NO_ACK scope the test had a threadSleep() method that paused
the test for 1/4 second hoping that distribution would finish and verification
would pass.

I've set the scope to DISTRIBUTED_ACK and have removed the threadSleep()
method.


> 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