From c914932280db0e8b90dfa267aefef1fccbdbd676 Mon Sep 17 00:00:00 2001 From: Mayya Sharipova Date: Tue, 20 Jul 2021 15:08:26 -0400 Subject: [PATCH] Fix test version and index creation (#75534) 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 #50709 --- .../resources/rest-api-spec/test/30_inner_hits.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/modules/parent-join/src/yamlRestTest/resources/rest-api-spec/test/30_inner_hits.yml b/modules/parent-join/src/yamlRestTest/resources/rest-api-spec/test/30_inner_hits.yml index 9f9bbbacf1217..e13a815ce9ac2 100644 --- a/modules/parent-join/src/yamlRestTest/resources/rest-api-spec/test/30_inner_hits.yml +++ b/modules/parent-join/src/yamlRestTest/resources/rest-api-spec/test/30_inner_hits.yml @@ -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