Skip to content

Commit 8ad1080

Browse files
committed
oops fix
1 parent 2be11f1 commit 8ad1080

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/async-search/src/internalClusterTest/java/org/elasticsearch/xpack/search/CrossClusterAsyncSearchIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1929,7 +1929,7 @@ private Map<String, Object> setupTwoClusters() {
19291929
String remoteIndex = "remote";
19301930
int numShardsRemote = randomIntBetween(2, 12);
19311931
final InternalTestCluster remoteCluster = cluster(REMOTE_CLUSTER);
1932-
remoteCluster.ensureAtLeastNumDataNodes(5);//randomIntBetween(1, 3));
1932+
remoteCluster.ensureAtLeastNumDataNodes(randomIntBetween(1, 3));
19331933
final Settings.Builder remoteSettings = Settings.builder();
19341934
remoteSettings.put(IndexMetadata.SETTING_NUMBER_OF_SHARDS, numShardsRemote);
19351935
remoteSettings.put(IndexMetadata.SETTING_NUMBER_OF_REPLICAS, randomIntBetween(0, 1));

0 commit comments

Comments
 (0)