From 8b07750a8b46db23333243add41d0853bf1158fc Mon Sep 17 00:00:00 2001 From: Tomas Della Vedova Date: Mon, 12 Oct 2020 11:19:36 +0200 Subject: [PATCH] Updated version string in yaml test (#63410) (#63533) --- .../rest-api-spec/test/versionfield/10_basic.yml | 8 ++++---- .../rest-api-spec/test/versionfield/20_scripts.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/test/versionfield/10_basic.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/versionfield/10_basic.yml index 11cb562b056..78f627b8012 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/test/versionfield/10_basic.yml +++ b/x-pack/plugin/src/test/resources/rest-api-spec/test/versionfield/10_basic.yml @@ -5,7 +5,7 @@ setup: - skip: features: headers - version: " - 7.10.00" + version: " - 7.10.0" reason: "version field is added to 7.10" - do: @@ -51,7 +51,7 @@ setup: - '{"version": "v3.1.0" }' - '{ "index" : { "_index" : "test_malformed", "_id" : "4" } }' - '{"version": "1.el6" }' - + - do: search: index: test_malformed @@ -89,7 +89,7 @@ setup: query: { "range" : { "version" : { "gte" : "1.1.0", "lt" : "9999" } } } - match: { hits.total.value: 3 } - + - do: search: index: test_index @@ -97,7 +97,7 @@ setup: query: { "range" : { "version" : { "gte" : "2.0.0", "lt" : "9999" } } } - match: { hits.total.value: 1 } - + - do: search: index: test_index diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/test/versionfield/20_scripts.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/versionfield/20_scripts.yml index f7e26946408..6e22b52ecf4 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/test/versionfield/20_scripts.yml +++ b/x-pack/plugin/src/test/resources/rest-api-spec/test/versionfield/20_scripts.yml @@ -5,7 +5,7 @@ setup: - skip: features: headers - version: " - 7.10.00" + version: " - 7.10.0" reason: "version field is added to 7.10" - do: