Clone
Adam Brown <acourtneybrown@users.noreply.github.com>
committed
on 19 Mar 18
Ensure that all children TestState are completed() (#4752)
* Ensure that all children TestState are completed()

With fail fast for tests en… Show more
Ensure that all children TestState are completed() (#4752)

* Ensure that all children TestState are completed()

With fail fast for tests enabled, some of the `TestState`s tracked

by the `StateTrackingTestResultProcessor` may never receive the

`completed()` call.  When this happens, the parent/ancester

`TestState` will not include the test count and failure information.

When combined with a `--tests` filter, this can cause an erroneous

failure message that no tests matched the filter.

This change ensures that all of the children/descendents of a `testId`

(`TestState`) are `completed` before the given `testId` is processed.

Addresses:  #4718

* Use ArrayList<> instead of LinkedList<>

Show less

master + 414 more