Skip to content

Thread created with FailOnTimeout should be named sometime more useful than "Thread-#" #799

Closed as not planned
@mkw

Description

@mkw

When debugging or profiling highly threaded tests, leaving the JUnit timeout threads as "Thread-#" is not very useful.

The obvious name for threads would probably be the full name for the test. This could be passed in from both BlockJUnit4ClassRunner#withPotentialTimeout, which has access to the Method object, and Timeout#apply, which has access to the Description object.

The fix for #657 names these threads "Time-limited test," which somewhat more useful, but still ambiguous when a large number of tests are run.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions