mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
[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…
x
Reference in New Issue
Block a user