lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rcm...@gmail.com>
Subject Re: LuceneTestCase.threadCleanup incorrectly reports left running threads
Date Wed, 22 Dec 2010 19:19:59 GMT
On Wed, Dec 22, 2010 at 2:14 PM, Shai Erera <serera@gmail.com> wrote:
> Hi
>
> I noticed that some tests report threads are left running, even when those
> tests never create and start a Thread. Digging deeper I found out that the
> tests report "Signal Dispatcher" and "Attach handler" as two threads that
> are left running. If I run the test from eclipse, then a "ReaderThread" and
> "Signal Dispatcher" are reported. ReaderThread belongs to JUnit framework
> and the other two are initiated by some framework, and definitely not from
> our tests.
>
> So I was thinking if instead of reporting those threads, we should inspect
> each running Thread's stacktrace and report it only if it contains an
> "org.apache.lucene/solr" package. Otherwise it cannot be started from our
> tests?
>
> What do you think?

are you running the tests from eclipse or something in this case (i
think i've seen these from eclipse)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message