Enable trace logging in failing ml NetworkDisruptionIT
https://github.com/elastic/elasticsearch/issues/49908
This commit is contained in:
parent
0bba7ccedd
commit
7d4118dc4e
|
@ -13,6 +13,7 @@ import org.elasticsearch.common.unit.ByteSizeValue;
|
||||||
import org.elasticsearch.index.query.QueryBuilders;
|
import org.elasticsearch.index.query.QueryBuilders;
|
||||||
import org.elasticsearch.plugins.Plugin;
|
import org.elasticsearch.plugins.Plugin;
|
||||||
import org.elasticsearch.test.disruption.NetworkDisruption;
|
import org.elasticsearch.test.disruption.NetworkDisruption;
|
||||||
|
import org.elasticsearch.test.junit.annotations.TestLogging;
|
||||||
import org.elasticsearch.test.transport.MockTransportService;
|
import org.elasticsearch.test.transport.MockTransportService;
|
||||||
import org.elasticsearch.xpack.core.ml.action.CloseJobAction;
|
import org.elasticsearch.xpack.core.ml.action.CloseJobAction;
|
||||||
import org.elasticsearch.xpack.core.ml.action.OpenJobAction;
|
import org.elasticsearch.xpack.core.ml.action.OpenJobAction;
|
||||||
|
@ -38,6 +39,8 @@ public class NetworkDisruptionIT extends BaseMlIntegTestCase {
|
||||||
return plugins;
|
return plugins;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestLogging(value = "org.elasticsearch.persistent.PersistentTasksClusterService:trace",
|
||||||
|
reason = "https://github.com/elastic/elasticsearch/issues/49908")
|
||||||
public void testJobRelocation() throws Exception {
|
public void testJobRelocation() throws Exception {
|
||||||
internalCluster().ensureAtLeastNumDataNodes(5);
|
internalCluster().ensureAtLeastNumDataNodes(5);
|
||||||
ensureStableCluster(5);
|
ensureStableCluster(5);
|
||||||
|
|
Loading…
Reference in New Issue