[
https://issues.apache.org/jira/browse/GEODE-414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14970150#comment-14970150
]
Eric Shu commented on GEODE-414:
--------------------------------
The test failed is caused by a race condition as
region.clientMetaDataLock.tryLock() condition in the cms.getClientPRMetadata()
call could cause some new function calls failed to update the PRMetaData if the
processResponse in the GetClientPRMetaDataOp takes a little longer.
Assume that user will continue to use the function calls again, the PRMetaData
will be updated as expected. So will only fix the race condition in the test.
> CI failure:
> PartitionedRegionSingleHopDUnitTest.testMetadataFetchOnlyThroughFunctions
> -------------------------------------------------------------------------------------
>
> Key: GEODE-414
> URL: https://issues.apache.org/jira/browse/GEODE-414
> Project: Geode
> Issue Type: Bug
> Reporter: Jianxia Chen
> Assignee: Eric Shu
> Labels: CI
>
> Failed 1 times in the last 30 runs. Stability: 96 %
> Error Message
> junit.framework.AssertionFailedError: Event never occurred after 60000 ms:
> expected no metadata to be refreshed
> Stacktrace
> junit.framework.AssertionFailedError: Event never occurred after 60000 ms:
> expected no metadata to be refreshed
> at junit.framework.Assert.fail(Assert.java:57)
> at junit.framework.TestCase.fail(TestCase.java:227)
> at
> dunit.DistributedTestCase.waitForCriterion(DistributedTestCase.java:1162)
> at
> com.gemstone.gemfire.internal.cache.PartitionedRegionSingleHopDUnitTest.testMetadataFetchOnlyThroughFunctions(PartitionedRegionSingleHopDUnitTest.java:842)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)