lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dawid Weiss (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-3437) Detect the test thread by reference, not by name.
Date Thu, 15 Sep 2011 12:42:09 GMT
Detect the test thread by reference, not by name.
-------------------------------------------------

                 Key: LUCENE-3437
                 URL: https://issues.apache.org/jira/browse/LUCENE-3437
             Project: Lucene - Java
          Issue Type: Sub-task
            Reporter: Dawid Weiss
            Assignee: Dawid Weiss
            Priority: Trivial
             Fix For: 4.0
         Attachments: LUCENE-3437.patch

Get rid of this:
{code}
      if (doFail && (Thread.currentThread().getName().equals("main") 
          || Thread.currentThread().getName().equals("Main Thread"))) {
{code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message