[TEST] fix CurrentTestFailedMarker to reset its state after each test
The currently used method `testRunStarted` is only called before any tests have been run, we need to reset that state before each test, that's why we need to use `testStarted`.
This commit is contained in:
parent
0408f90c08
commit
6cc7431bd3
|
@ -39,7 +39,7 @@ public class CurrentTestFailedMarker extends RunListener {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void testRunStarted(Description description) throws Exception {
|
||||
public void testStarted(Description description) throws Exception {
|
||||
failed.set(false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue