Skip to content

Commit dd2f35a

Browse files
committed
Specify routing when percolating existing project document
1 parent 8df1223 commit dd2f35a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Tests/Tests/QueryDsl/Specialized/Percolate/PercolateQueryUsageTests.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ protected override void IntegrationSetup(IElasticClient client, CallUniqueValues
9292
Query = "Martijn"
9393
}
9494
}, d => d.Index(percolationIndex));
95-
Client.IndexDocument(Project.Instance);
95+
Client.Index(Project.Instance, i => i.Routing(Project.Instance.Name));
9696
Client.Refresh(Nest.Indices.Index(percolationIndex).And<Project>());
9797
}
9898
}
@@ -178,7 +178,6 @@ protected override void ExpectResponse(SearchResponse<ProjectPercolation> respon
178178
* See the Elasticsearch documentation on {ref_current}/query-dsl-percolate-query.html[percolate query] for more details.
179179
*/
180180
[SkipVersion("5.0.0-alpha1", "percolate query changed property in query dsl from 'percolator' to 'percolate'")]
181-
[BlockedByIssue("https://github.com/elastic/elasticsearch/pull/39987")]
182181
public class PercolateQueryExistingDocumentUsageTests : PercolateQueryUsageTestsBase
183182
{
184183
public PercolateQueryExistingDocumentUsageTests(WritableCluster i, EndpointUsage usage) : base(i, usage) { }
@@ -242,7 +241,6 @@ protected override void ExpectResponse(SearchResponse<ProjectPercolation> respon
242241
* See the Elasticsearch documentation on {ref_current}/query-dsl-percolate-query.html[percolate query] for more details.
243242
*/
244243
[SkipVersion("5.0.0-alpha1", "percolate query changed property in query dsl from 'percolator' to 'percolate'")]
245-
[BlockedByIssue("https://github.com/elastic/elasticsearch/pull/39987")]
246244
public class PercolateMultipleDocumentsQueryUsageTests : PercolateQueryUsageTestsBase
247245
{
248246
public PercolateMultipleDocumentsQueryUsageTests(WritableCluster i, EndpointUsage usage) : base(i, usage) { }

0 commit comments

Comments
 (0)