From 7117d9a2c5f5f0383f28eda412ea68d46d3c7b78 Mon Sep 17 00:00:00 2001 From: Russ Cam Date: Tue, 2 Apr 2019 20:17:47 +1000 Subject: [PATCH] fix cross cluster search test --- src/Tests/Tests/Search/Search/SearchApiTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Tests/Tests/Search/Search/SearchApiTests.cs b/src/Tests/Tests/Search/Search/SearchApiTests.cs index 20a77cb24d0..d1a563dff0a 100644 --- a/src/Tests/Tests/Search/Search/SearchApiTests.cs +++ b/src/Tests/Tests/Search/Search/SearchApiTests.cs @@ -532,10 +532,10 @@ public CrossClusterSearchApiTests(CrossClusterSearchCluster cluster, EndpointUsa protected override SearchRequest Initializer => new SearchRequest(Nest.Indices.Index().And("cluster_two:project")) { - Query = new QueryContainer(new MatchAllQuery()) + Query = new MatchAllQuery() }; - protected override string UrlPath => $"/project%2Ccluster_two%3Aproject/doc/_search"; + protected override string UrlPath => $"/project%2Ccluster_two%3Aproject/_search"; protected override LazyResponses ClientUsage() => Calls( (c, f) => c.Search(f),