Skip to content

Commit

Permalink
Fix test version and index creation
Browse files Browse the repository at this point in the history
This patch fixes test skip version, which was incorrect before.
It also removes a duplicate index creation, as the index is already created
during setup stage.

Related to elastic#50709
  • Loading branch information
mayya-sharipova committed Jul 20, 2021
1 parent b295044 commit 6070641
Showing 1 changed file with 1 addition and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,20 +59,9 @@ teardown:
---
"Test two sub-queries with only one having inner_hits":
- skip:
version: " - 7.59.99"
version: " - 7.5.99"
reason: "The bug was corrected from 7.6"

- do:
indices.create:
index: test
body:
mappings:
properties:
entity_type: { "type": "keyword" }
join_field: { "type": "join", "relations": { "question": "answer", "person" : "address" } }
settings:
number_of_shards: 1

- do:
index:
index: test
Expand Down

0 comments on commit 6070641

Please sign in to comment.