mirror of https://github.com/apache/lucene.git
a7202e2e6f
There are a few places where tests don't close index readers. This has not caused problems so far, but it becomes an issue when the reader gets an executor, because its shutdown happens as a closing listener of the reader. This has become more evident since we now offload sequential execution to the executor. If there's an executor, but it's never used, no threads are created, and no threads are leaked. If we do use the executor, and the reader is not closed, the test leaks threads. |
||
---|---|---|
.. | ||
src | ||
build.gradle |