[Test] Fix slow rollup job task test
Incorrect latch caused this test to run slowly (until the await finished), and could probably cause failure due to incorrect ordering Original commit: elastic/x-pack-elasticsearch@ebeb8655da
This commit is contained in:
parent
eb82e3cf61
commit
3b474d8868
|
@ -590,7 +590,7 @@ public class RollupJobTaskTests extends ESTestCase {
|
|||
@Override
|
||||
public void onResponse(StopRollupJobAction.Response response) {
|
||||
assertTrue(response.isStopped());
|
||||
latch.countDown();
|
||||
latch2.countDown();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue