fixed compile error due to upstream change
Original commit: elastic/x-pack-elasticsearch@70a16e125c
This commit is contained in:
parent
90d0cb22ac
commit
5900a65085
|
@ -156,7 +156,7 @@ public class IndexAuditTrailTests extends ShieldIntegTestCase {
|
|||
return builder.build();
|
||||
}
|
||||
};
|
||||
cluster2 = new InternalTestCluster("network", randomLong(), createTempDir(), numNodes, numNodes, cluster2Name, cluster2SettingsSource, 0, false, SECOND_CLUSTER_NODE_PREFIX);
|
||||
cluster2 = new InternalTestCluster("network", randomLong(), createTempDir(), numNodes, numNodes, cluster2Name, cluster2SettingsSource, 0, false, SECOND_CLUSTER_NODE_PREFIX, true);
|
||||
cluster2.beforeTest(getRandom(), 0.5);
|
||||
remoteClient = cluster2.client();
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@ public class RemoteIndexAuditTrailStartingTests extends ShieldIntegTestCase {
|
|||
return builder.build();
|
||||
}
|
||||
};
|
||||
remoteCluster = new InternalTestCluster("network", randomLong(), createTempDir(), numNodes, numNodes, cluster2Name, cluster2SettingsSource, 0, false, SECOND_CLUSTER_NODE_PREFIX);
|
||||
remoteCluster = new InternalTestCluster("network", randomLong(), createTempDir(), numNodes, numNodes, cluster2Name, cluster2SettingsSource, 0, false, SECOND_CLUSTER_NODE_PREFIX, true);
|
||||
remoteCluster.beforeTest(getRandom(), 0.5);
|
||||
}
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ public class TribeTests extends ShieldIntegTestCase {
|
|||
String cluster2Name = clusterName(Scope.SUITE.name(), randomLong());
|
||||
//no port conflicts as this test uses the global cluster and a suite cluster that gets manually created
|
||||
ShieldSettingsSource cluster2SettingsSource = new ShieldSettingsSource(2, sslTransportEnabled, systemKey(), createTempDir(), Scope.SUITE);
|
||||
cluster2 = new InternalTestCluster("network", randomLong(), createTempDir(), 2, 2, cluster2Name, cluster2SettingsSource, 0, false, SECOND_CLUSTER_NODE_PREFIX);
|
||||
cluster2 = new InternalTestCluster("network", randomLong(), createTempDir(), 2, 2, cluster2Name, cluster2SettingsSource, 0, false, SECOND_CLUSTER_NODE_PREFIX, true);
|
||||
|
||||
assert tribeSettingsSource == null;
|
||||
//given the low (2 and 1) number of nodes that the 2 SUITE clusters will have, we are not going to have port conflicts
|
||||
|
@ -142,7 +142,7 @@ public class TribeTests extends ShieldIntegTestCase {
|
|||
|
||||
//we need to recreate the tribe node after each test otherwise ensureClusterSizeConsistency barfs
|
||||
String tribeClusterName = clusterName(Scope.SUITE.name(), randomLong());
|
||||
tribeNodeCluster = new InternalTestCluster("network", randomLong(), createTempDir(), 1, 1, tribeClusterName, tribeSettingsSource, 0, false, TRIBE_CLUSTER_NODE_PREFIX);
|
||||
tribeNodeCluster = new InternalTestCluster("network", randomLong(), createTempDir(), 1, 1, tribeClusterName, tribeSettingsSource, 0, false, TRIBE_CLUSTER_NODE_PREFIX, true);
|
||||
tribeNodeCluster.beforeTest(getRandom(), 0.5);
|
||||
awaitSameNodeCounts();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue