jpountz commented on issue #916: LUCENE-8213: Asynchronous Caching in LRUQueryCache URL: https://github.com/apache/lucene-solr/pull/916#issuecomment-539874259 > I have not added a test for the closed reader case because I am unable to formulate one intuitively Maybe we could do this by creating a fake Executor that waits on a latch before executing any task. This way we might be able to run the query first, then close the reader, and finally call `countDown` on the latch to run the caching operation?
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org