geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kirk Lund (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-153) MultiVMRegionTestCase testRemoteCacheListener fails assertion intermittently
Date Mon, 18 Apr 2016 22:48:25 GMT

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

Kirk Lund commented on GEODE-153:
---------------------------------

See also: GEODE-932

> MultiVMRegionTestCase testRemoteCacheListener fails assertion intermittently
> ----------------------------------------------------------------------------
>
>                 Key: GEODE-153
>                 URL: https://issues.apache.org/jira/browse/GEODE-153
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Darrel Schneider
>            Assignee: Darrel Schneider
>            Priority: Minor
>              Labels: CI
>             Fix For: 1.0.0-incubating.M1
>
>
> See: https://builds.apache.org/job/Geode-nightly/164/testReport/com.gemstone.gemfire.cache30/DistributedNoAckRegionCompressionDUnitTest/testRemoteCacheListener/
> dunit.RMIException: While invoking com.gemstone.gemfire.cache30.MultiVMRegionTestCase$53.run
in VM 1 running on Host hemera.apache.org 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.testRemoteCacheListener(MultiVMRegionTestCase.java:1271)
> Caused by: junit.framework.AssertionFailedError
> 	at junit.framework.Assert.fail(Assert.java:55)
> 	at junit.framework.Assert.assertTrue(Assert.java:22)
> 	at junit.framework.Assert.assertTrue(Assert.java:31)
> 	at junit.framework.TestCase.assertTrue(TestCase.java:201)
> 	at com.gemstone.gemfire.cache30.MultiVMRegionTestCase$53.run2(MultiVMRegionTestCase.java:1273)
> This assertion is:    vm1.invoke(new CacheSerializableRunnable("Verify Invalidate") {
>         public void run2() throws CacheException {
>           assertTrue(listener.wasInvoked());
> Given that the test right before this calls pause (which sleeps for 250ms) I'd say this
is probably a race condition which could be fixed with a WaitCriterion.
> Failed in DiskDistributedNoAckSyncOverflowRegionDUnitTest.testRemoteCacheListener



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

Mime
View raw message