Fix to flaky tests; don't count failures when success has been reached.
Fix to flaky tests; don't count failures when success has been reached.

thought-machine/please,thought-machine/please,thought-machine/please,thought-machine/please,thought-machine/please,thought-machine/please