Enable trace logging in failing ml NetworkDisruptionIT

https://github.com/elastic/elasticsearch/issues/49908
This commit is contained in:
David Kyle 2019-12-12 11:03:59 +00:00
parent 0bba7ccedd
commit 7d4118dc4e
1 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,7 @@ import org.elasticsearch.common.unit.ByteSizeValue;
import org.elasticsearch.index.query.QueryBuilders;
import org.elasticsearch.plugins.Plugin;
import org.elasticsearch.test.disruption.NetworkDisruption;
import org.elasticsearch.test.junit.annotations.TestLogging;
import org.elasticsearch.test.transport.MockTransportService;
import org.elasticsearch.xpack.core.ml.action.CloseJobAction;
import org.elasticsearch.xpack.core.ml.action.OpenJobAction;
@ -38,6 +39,8 @@ public class NetworkDisruptionIT extends BaseMlIntegTestCase {
return plugins;
}
@TestLogging(value = "org.elasticsearch.persistent.PersistentTasksClusterService:trace",
reason = "https://github.com/elastic/elasticsearch/issues/49908")
public void testJobRelocation() throws Exception {
internalCluster().ensureAtLeastNumDataNodes(5);
ensureStableCluster(5);