[
https://issues.apache.org/jira/browse/GEODE-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15222050#comment-15222050
]
ASF GitHub Bot commented on GEODE-1061:
---------------------------------------
GitHub user nabarunnag opened a pull request:
https://github.com/apache/incubator-geode/pull/121
GEODE-1061: Made the update operations to be synchronous and made sure
executeCQ happens before updates
GEODE-1061: Made the update operations to be synchronous and made sure
executeCQ happens before updates
* Moved function execution of executeCQ before region updates because if
all the updates finish before executeCQ, the test will fail because the cache
map size will be zero. This is a feature for PR regions.
* Made all update operations to be synchronous rather than using sleep and
infinite while loop to wait.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nabarunnag/incubator-geode feature/GEODE-1061
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-geode/pull/121.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #121
----
commit 5f58e34afe6310fb0abe4abced744727aa10d748
Author: nabarun <[email protected]>
Date: 2016-03-31T20:47:59Z
GEODE-1061: Made the update operations to be synchronous and made sure
executeCQ happens before updates
* Moved function execution of executeCQ before region updates because if
all the updates finish before executeCQ, the test will fail because the cache
map size will be zero. This is a feature for PR regions.
* Made all update operations to be synchronous rather than using sleep and
infinite while loop to wait.
----
> CI failure: CqResultSetUsingPoolDUnitTest.testCqResultsCachingForPR
> -------------------------------------------------------------------
>
> Key: GEODE-1061
> URL: https://issues.apache.org/jira/browse/GEODE-1061
> Project: Geode
> Issue Type: Bug
> Components: querying
> Reporter: Darrel Schneider
> Assignee: Jason Huynh
> Labels: CI
>
> failed run 1807 on revision: 23950e80f8771eb134cb128ad9cff4d78f270d12
> com.gemstone.gemfire.test.dunit.RMIException: While invoking
> com.gemstone.gemfire.cache.query.cq.dunit.CqResultSetUsingPoolDUnitTest$16.run
> in VM 0 running on Host timor.gemstone.com with 4 VMs
> at com.gemstone.gemfire.test.dunit.VM.invoke(VM.java:379)
> at com.gemstone.gemfire.test.dunit.VM.invoke(VM.java:321)
> at com.gemstone.gemfire.test.dunit.VM.invoke(VM.java:272)
> at
> com.gemstone.gemfire.cache.query.cq.dunit.CqResultSetUsingPoolDUnitTest.testCqResultsCachingForPR(CqResultSetUsingPoolDUnitTest.java:799)
> Caused by: junit.framework.AssertionFailedError: The Result Cache for CQ on
> PR is not working. CQ :testCqResultsP_0
> at junit.framework.Assert.fail(Assert.java:57)
> at junit.framework.TestCase.fail(TestCase.java:227)
> at
> com.gemstone.gemfire.cache.query.cq.dunit.CqResultSetUsingPoolDUnitTest$16.run2(CqResultSetUsingPoolDUnitTest.java:826)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)