geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-179) DistributedNoAckRegionCCEOffHeapDUnitTest.testEntryTtlDestroyEvent intermittent assertion falure
Date Mon, 10 Aug 2015 21:07:45 GMT

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

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

Commit e255c75e9be33e3d274c42822923ba3db0629739 in incubator-geode's branch refs/heads/develop
from [~dschneider]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=e255c75 ]

GEODE-179: fix race in testEntryTtlDestroyEvent

A race existed that caused no-ack regions to fail because they
did not see the entry expire.
This race was fixed by suspending expiration until the create
is seen on the remote side and then after permitting expiration
using a wait for the expire to happen.


> DistributedNoAckRegionCCEOffHeapDUnitTest.testEntryTtlDestroyEvent intermittent assertion
falure
> ------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-179
>                 URL: https://issues.apache.org/jira/browse/GEODE-179
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Darrel Schneider
>            Assignee: Darrel Schneider
>            Priority: Minor
>
> See: https://builds.apache.org/view/All/job/Geode-nightly/172/testReport/com.gemstone.gemfire.cache30/DistributedNoAckRegionCCEOffHeapDUnitTest/testEntryTtlDestroyEvent/
> dunit.RMIException: While invoking com.gemstone.gemfire.cache30.MultiVMRegionTestCase$183.run
in VM 1 running on Host asf903.gq1.ygridcore.net with 4 VMs
> 	at dunit.VM.invoke(VM.java:359)
> 	at dunit.VM.invoke(VM.java:303)
> 	at dunit.VM.invoke(VM.java:257)
> 	at com.gemstone.gemfire.cache30.MultiVMRegionTestCase.testEntryTtlDestroyEvent(MultiVMRegionTestCase.java:3927)
> Caused by: junit.framework.AssertionFailedError: Expected: <null> but was: NonTXEntry@655cb9ec
VersionedThinRegionEntryOffHeapStringKey1@2ab268f1 (key=KEY; rawValue=SimpleMemoryAllocatorImpl$GemFireChunk@-392327287:<dataSize=8
refCount=1 addr=7f81e89df008>; version={v1; rv1; time=1438231062905};member=null)
> 	at junit.framework.Assert.fail(Assert.java:57)
> 	at junit.framework.Assert.assertTrue(Assert.java:22)
> 	at junit.framework.Assert.assertNull(Assert.java:277)
> 	at junit.framework.Assert.assertNull(Assert.java:268)
> 	at junit.framework.TestCase.assertNull(TestCase.java:438)
> 	at com.gemstone.gemfire.cache30.MultiVMRegionTestCase$183.run2(MultiVMRegionTestCase.java:3934)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message