It seems the 20 seconds timeout is occasionally not enough. We still get sporadic failures where the logs reveal the job wasn't opened within 20 seconds. I'm increasing the wait time to 30 seconds. Closes #54448 Backport of #54792
This commit is contained in:
parent
63de8c0730
commit
ed4ef78330
|
@ -437,7 +437,7 @@ public class MlDistributedFailureIT extends BaseMlIntegTestCase {
|
||||||
GetJobsStatsAction.Response statsResponse =
|
GetJobsStatsAction.Response statsResponse =
|
||||||
client().execute(GetJobsStatsAction.INSTANCE, new GetJobsStatsAction.Request(job.getId())).actionGet();
|
client().execute(GetJobsStatsAction.INSTANCE, new GetJobsStatsAction.Request(job.getId())).actionGet();
|
||||||
assertEquals(JobState.OPENED, statsResponse.getResponse().results().get(0).getState());
|
assertEquals(JobState.OPENED, statsResponse.getResponse().results().get(0).getState());
|
||||||
}, 20, TimeUnit.SECONDS);
|
}, 30, TimeUnit.SECONDS);
|
||||||
|
|
||||||
setMlIndicesDelayedNodeLeftTimeoutToZero();
|
setMlIndicesDelayedNodeLeftTimeoutToZero();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue