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

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

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

GEODE-364: CI failure in SingleHopStatsDUnitTest.testClientStatsPR

This failure could also happen with the other test in this class:  a
client does put() operations that force the scheduling of a fetch of
PR metadata.  The client asserts that the metadata has been fetched,
but since the fetching is asynchronous it's possible for the client
to complete its put() operations and execute the assertion before the
asynchronous operation has completed.

The fix adds a WaitCriterion for the assertion.


> CI Failure: SingleHopStatsDUnitTest.testClientStatsPR fails intermittently
> --------------------------------------------------------------------------
>
>                 Key: GEODE-364
>                 URL: https://issues.apache.org/jira/browse/GEODE-364
>             Project: Geode
>          Issue Type: Bug
>          Components: client/server
>            Reporter: Darrel Schneider
>            Assignee: Anilkumar Gingade
>            Priority: Minor
>              Labels: CI
>
> Failed on a private build of git rev
> {code}
> dunit.RMIException: While invoking 
> com.gemstone.gemfire.internal.cache.Bug42010StatsDUnitTest.createPR in VM 3 
> running on Host doomtwo.gemstone.com with 4 VMs
>       at dunit.VM.invoke(VM.java:161)
>       at 
> com.gemstone.gemfire.internal.cache.Bug42010StatsDUnitTest.test_clientStats_PR(Bug42010StatsDUnitTest.java:153)
> [snip]
> Caused by: junit.framework.AssertionFailedError: expected:<1> but was:<0>
>       at junit.framework.Assert.fail(Assert.java:57)
>       at junit.framework.Assert.failNotEquals(Assert.java:329)
>       at junit.framework.Assert.assertEquals(Assert.java:78)
>       at junit.framework.Assert.assertEquals(Assert.java:234)
>       at junit.framework.Assert.assertEquals(Assert.java:241)
>       at junit.framework.TestCase.assertEquals(TestCase.java:409)
>       at 
> com.gemstone.gemfire.internal.cache.Bug42010StatsDUnitTest.createPR(Bug42010StatsDUnitTest.java:359)
> {code}
> The assertion that fails:
> {code}
>         regionMetaData = cms.getClientPRMetadata_TEST_ONLY();
>         assertEquals(1, regionMetaData.size());
> {code}



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

Reply via email to