Skip to content

Commit

Permalink
Increase discovery log level in NetworkDisruptionIT
Browse files Browse the repository at this point in the history
Sometimes the cluster forming here will split-brain when it grows up to 5
nodes. This could be a timing issue or could be something going wrong in
discovery, so this asks for more logs. Relates #35052
  • Loading branch information
DaveCTurner committed Oct 30, 2018
1 parent 995bf0e commit f7760dd
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import org.elasticsearch.xpack.core.ml.job.persistence.AnomalyDetectorsIndex;
import org.elasticsearch.xpack.core.ml.job.process.autodetect.state.Quantiles;
import org.elasticsearch.xpack.ml.support.BaseMlIntegTestCase;
import org.elasticsearch.test.junit.annotations.TestLogging;

import java.util.ArrayList;
import java.util.Arrays;
Expand Down Expand Up @@ -53,6 +54,7 @@ protected Collection<Class<? extends Plugin>> nodePlugins() {
return plugins;
}

@TestLogging("org.elasticsearch.discovery.zen:TRACE")
public void testJobRelocation() throws Exception {
internalCluster().ensureAtLeastNumDataNodes(5);
ensureStableCluster(5);
Expand Down

0 comments on commit f7760dd

Please sign in to comment.