Skip to content

Commit

Permalink
Update skip version on rule_query tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kderusso committed Feb 15, 2024
1 parent 009a847 commit 258cb30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ setup:
---
"Perform a rule query with an organic query that must be rewritten to another query type":
- skip:
version: " - 8.13.99"
version: " - 8.12.2"
reason: Bugfix that was broken in previous versions

- do:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ protected void doXContent(XContentBuilder builder, Params params) throws IOExcep

@Override
protected QueryBuilder doRewrite(QueryRewriteContext queryRewriteContext) throws IOException {

if (weightedTokensSupplier != null) {
if (weightedTokensSupplier.get() == null) {
return this;
Expand Down

0 comments on commit 258cb30

Please sign in to comment.