Skip to content

Commit 56036bb

Browse files
authored
Resolve NetworkDisruptionIT (#43441)
1 parent 71c8d24 commit 56036bb

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/NetworkDisruptionIT.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ protected Collection<Class<? extends Plugin>> nodePlugins() {
3838
return plugins;
3939
}
4040

41-
@AwaitsFix( bugUrl = "https://github.com/elastic/elasticsearch/issues/39858")
4241
public void testJobRelocation() throws Exception {
4342
internalCluster().ensureAtLeastNumDataNodes(5);
4443
ensureStableCluster(5);

x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/support/BaseMlIntegTestCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ public static void deleteAllJobs(Logger logger, Client client) throws Exception
334334
protected String awaitJobOpenedAndAssigned(String jobId, String queryNode) throws Exception {
335335

336336
PersistentTasksClusterService persistentTasksClusterService =
337-
internalCluster().getInstance(PersistentTasksClusterService.class, internalCluster().getMasterName());
337+
internalCluster().getInstance(PersistentTasksClusterService.class, internalCluster().getMasterName(queryNode));
338338
// Speed up rechecks to a rate that is quicker than what settings would allow.
339339
// The check would work eventually without doing this, but the assertBusy() below
340340
// would need to wait 30 seconds, which would make the test run very slowly.

0 commit comments

Comments
 (0)