From 3924fd79ef97c04b301024e1d15a92f3049133a2 Mon Sep 17 00:00:00 2001 From: Jim Ferenczi Date: Wed, 7 Jun 2017 19:29:01 +0200 Subject: Add BWC rest test for parent-join after the backport to 5.x --- .../src/test/resources/rest-api-spec/test/10_parent_child.yml | 4 ++-- .../src/test/resources/rest-api-spec/test/11_parent_child.yml | 6 ++++-- .../src/test/resources/rest-api-spec/test/20_parent_join.yml | 10 ++++++---- 3 files changed, 12 insertions(+), 8 deletions(-) (limited to 'modules/parent-join/src') diff --git a/modules/parent-join/src/test/resources/rest-api-spec/test/10_parent_child.yml b/modules/parent-join/src/test/resources/rest-api-spec/test/10_parent_child.yml index f5a5808012..29a50c64f2 100644 --- a/modules/parent-join/src/test/resources/rest-api-spec/test/10_parent_child.yml +++ b/modules/parent-join/src/test/resources/rest-api-spec/test/10_parent_child.yml @@ -14,8 +14,8 @@ setup: --- "Parent/child inner hits": - skip: - version: " - 5.99.99" - reason: mapping.single_type was added in 6.0 + version: " - 5.4.99" + reason: mapping.single_type was added in 5.5 - do: index: diff --git a/modules/parent-join/src/test/resources/rest-api-spec/test/11_parent_child.yml b/modules/parent-join/src/test/resources/rest-api-spec/test/11_parent_child.yml index d4f77cbb1f..f142bf61bc 100644 --- a/modules/parent-join/src/test/resources/rest-api-spec/test/11_parent_child.yml +++ b/modules/parent-join/src/test/resources/rest-api-spec/test/11_parent_child.yml @@ -3,6 +3,8 @@ setup: indices.create: index: test body: + settings: + mapping.single_type: true mappings: doc: properties: @@ -13,8 +15,8 @@ setup: --- "Parent/child inner hits": - skip: - version: " - 5.99.99" - reason: mapping.single_type was added in 6.0 + version: " - 5.4.99" + reason: mapping.single_type was added in 5.5 - do: index: diff --git a/modules/parent-join/src/test/resources/rest-api-spec/test/20_parent_join.yml b/modules/parent-join/src/test/resources/rest-api-spec/test/20_parent_join.yml index 8f6907e323..52a524d2de 100644 --- a/modules/parent-join/src/test/resources/rest-api-spec/test/20_parent_join.yml +++ b/modules/parent-join/src/test/resources/rest-api-spec/test/20_parent_join.yml @@ -3,6 +3,8 @@ setup: indices.create: index: test body: + settings: + mapping.single_type: true mappings: doc: properties: @@ -60,8 +62,8 @@ setup: --- "Test basic": - skip: - version: " - 5.99.99" - reason: parent-join was added in 6.0 + version: " - 5.5.99" + reason: parent-join was added in 5.6 - do: search: @@ -105,8 +107,8 @@ setup: --- "Test parent_id query": - skip: - version: " - 5.99.99" - reason: parent-join was added in 6.0 + version: " - 5.5.99" + reason: parent-join was added in 5.6 - do: search: -- cgit v1.2.3