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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org