Skip to content

Commit 6070307

Browse files
committed
Enable trace logging in failing ml NetworkDisruptionIT
#49908
1 parent 3857e3d commit 6070307

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import org.elasticsearch.index.query.QueryBuilders;
1414
import org.elasticsearch.plugins.Plugin;
1515
import org.elasticsearch.test.disruption.NetworkDisruption;
16+
import org.elasticsearch.test.junit.annotations.TestLogging;
1617
import org.elasticsearch.test.transport.MockTransportService;
1718
import org.elasticsearch.xpack.core.ml.action.CloseJobAction;
1819
import org.elasticsearch.xpack.core.ml.action.OpenJobAction;
@@ -38,6 +39,8 @@ protected Collection<Class<? extends Plugin>> nodePlugins() {
3839
return plugins;
3940
}
4041

42+
@TestLogging(value = "org.elasticsearch.persistent.PersistentTasksClusterService:trace",
43+
reason = "https://github.com/elastic/elasticsearch/issues/49908")
4144
public void testJobRelocation() throws Exception {
4245
internalCluster().ensureAtLeastNumDataNodes(5);
4346
ensureStableCluster(5);

0 commit comments

Comments
 (0)