[
https://issues.apache.org/jira/browse/GEODE-2881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16001202#comment-16001202
]
ASF subversion and git services commented on GEODE-2881:
--------------------------------------------------------
Commit 7030dcdec5be21e2ae3bb1500020e2ec6700a35b in geode's branch
refs/heads/develop from [~nnag]
[ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=7030dcd ]
GEODE-2881: Wait for waitForFlushBeforeExecuteTextSearch to complete
* Test now waits for waitForFlushBeforeExecuteTextSearch initiated by
the test hook.
* The test hook gets called when GII is requested.
* This task may hit CacheClosedException if the test get completed
before the flush operations of GII
> waitForFlushBeforeExecuteTextSearch instance hits cache closed exception
> because test is completed
> --------------------------------------------------------------------------------------------------
>
> Key: GEODE-2881
> URL: https://issues.apache.org/jira/browse/GEODE-2881
> Project: Geode
> Issue Type: Bug
> Components: lucene
> Reporter: nabarun
> Assignee: nabarun
>
> Issue:
> The returnCorrectResultsWhenIndexUpdateHappensIntheMiddleofGII tests creates
> a test hook which calls waitForFlushBeforeExecuteTextSearch when GII is
> requested and also the test calls waitForFlushBeforeExecuteTextSearch before
> executing a Lucene Query.
> Both calls occur in different threads and if the wait for flush called by the
> test hook is still executing while the test is completed, the caches are shut
> down and it gets a CacheClosedException
> Solution:
> Make sure the test hook's wait for flush is completed before the test is
> terminated / before executing a query
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)