geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony Baker (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (GEODE-2881) waitForFlushBeforeExecuteTextSearch instance hits cache closed exception because test is completed
Date Sat, 17 Jun 2017 18:04:16 GMT

     [ https://issues.apache.org/jira/browse/GEODE-2881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Anthony Baker closed GEODE-2881.
--------------------------------

> 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
>             Fix For: 1.2.0
>
>
> 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.4.14#64029)

Mime
View raw message