Skip to content

Detect the test thread by reference, not by name. [LUCENE-3437] #4511

@asfimport

Description

@asfimport

Get rid of this:

      if (doFail && (Thread.currentThread().getName().equals("main") 
          || Thread.currentThread().getName().equals("Main Thread"))) {

Migrated from LUCENE-3437 by Dawid Weiss (@dweiss), resolved Sep 15 2011
Parent: #4502
Attachments: LUCENE-3437.patch

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions