34
34
import org .elasticsearch .test .InternalTestCluster ;
35
35
import org .elasticsearch .test .NodeConfigurationSource ;
36
36
import org .elasticsearch .test .discovery .TestZenDiscovery ;
37
- import org .elasticsearch .test .junit .annotations .TestLogging ;
38
37
import org .elasticsearch .transport .MockTcpTransportPlugin ;
39
38
import org .elasticsearch .transport .TransportSettings ;
40
39
import org .hamcrest .Matcher ;
@@ -409,9 +408,7 @@ public Settings transportClientSettings() {
409
408
}
410
409
}
411
410
412
- @ TestLogging ("_root:DEBUG" )
413
411
public void testTwoNodeCluster () throws Exception {
414
- final boolean autoManageMinMasterNodes = randomBoolean ();
415
412
NodeConfigurationSource nodeConfigurationSource = new NodeConfigurationSource () {
416
413
@ Override
417
414
public Settings nodeSettings (int nodeOrdinal ) {
@@ -430,7 +427,7 @@ public Settings transportClientSettings() {
430
427
boolean enableHttpPipelining = randomBoolean ();
431
428
String nodePrefix = "test" ;
432
429
Path baseDir = createTempDir ();
433
- InternalTestCluster cluster = new InternalTestCluster (randomLong (), baseDir , false , autoManageMinMasterNodes , 2 , 2 ,
430
+ InternalTestCluster cluster = new InternalTestCluster (randomLong (), baseDir , false , true , 2 , 2 ,
434
431
"test" , nodeConfigurationSource , 0 , enableHttpPipelining , nodePrefix ,
435
432
Arrays .asList (MockTcpTransportPlugin .class , TestZenDiscovery .TestPlugin .class ), Function .identity ());
436
433
try {
0 commit comments