From 70594a66c7b30c8bcf95b125cb803f8034cfa9ad Mon Sep 17 00:00:00 2001 From: Adrien Grand <jpountz@gmail.com> Date: Fri, 23 Dec 2016 09:37:44 +0100 Subject: [PATCH] Only run the unmapped+missing tests on 5.2+. --- .../test/search.aggregation/20_terms.yaml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/20_terms.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/20_terms.yaml index 35febfa28da..769865bd0e3 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/20_terms.yaml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/20_terms.yaml @@ -469,6 +469,10 @@ setup: --- "Unmapped strings": + - skip: + version: " - 5.1.99" + reason: Unmapped fields handling with value_type was added in 5.2 + - do: index: index: test_1 @@ -494,6 +498,10 @@ setup: --- "Unmapped booleans": + - skip: + version: " - 5.1.99" + reason: Unmapped fields handling with value_type was added in 5.2 + - do: index: index: test_1 @@ -521,6 +529,10 @@ setup: --- "Unmapped dates": + - skip: + version: " - 5.1.99" + reason: Unmapped fields handling with value_type was added in 5.2 + - do: index: index: test_1 @@ -548,6 +560,10 @@ setup: --- "Unmapped longs": + - skip: + version: " - 5.1.99" + reason: Unmapped fields handling with value_type was added in 5.2 + - do: index: index: test_1 @@ -573,6 +589,10 @@ setup: --- "Unmapped doubles": + - skip: + version: " - 5.1.99" + reason: Unmapped fields handling with value_type was added in 5.2 + - do: index: index: test_1