nabarun created GEODE-2881: ------------------------------ Summary: 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
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)