Skip to content

Resolve issue acquiring runner in threaded execution context

Compare
Choose a tag to compare
@sbabcoc sbabcoc released this 10 Apr 02:40
· 82 commits to master since this release

If the JUnit framework detects that a timeout rule is in effect, new time-limited threads are spawned to execute test methods. In this context, the "thread runner" is initially unset when RunReflectiveCall is invoked. This release adds logic to store the association between test class instances and the runners that created them, and these associations provide the runner objects for these new threads.