Skip to content

Commit 1600a4d

Browse files
committed
cross cluster search only available after 5.2, search.remote node setting needs to be conditional
1 parent af92da7 commit 1600a4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tests/Framework/ManagedElasticsearch/Clusters/ClientTestClusterBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public ClientTestClusterConfiguration(ClusterFeatures features = ClusterFeatures
4040

4141
this.Add(this.AttributeKey("testingcluster"), "true");
4242
this.Add(this.AttributeKey("gateway"), "true");
43-
this.Add("search.remote.connect", "true");
43+
this.Add("search.remote.connect", "true", ">=5.3.0");
4444

4545
this.Add($"script.max_compilations_per_minute", "10000", "<6.0.0-rc1");
4646
this.Add($"script.max_compilations_rate", "10000/1m", ">=6.0.0-rc1");

0 commit comments

Comments
 (0)