Browse Source

Updated version string in yaml test (#63410)

Tomas Della Vedova 5 years ago
parent
commit
7f3ecb3308

+ 4 - 4
x-pack/plugin/src/test/resources/rest-api-spec/test/versionfield/10_basic.yml

@@ -5,7 +5,7 @@ setup:
 
 
   - skip:
   - skip:
       features: headers
       features: headers
-      version: " - 7.10.00"
+      version: " - 7.10.0"
       reason: "version field is added to 7.10"
       reason: "version field is added to 7.10"
 
 
   - do:
   - do:
@@ -51,7 +51,7 @@ setup:
             - '{"version": "v3.1.0" }'
             - '{"version": "v3.1.0" }'
             - '{ "index" : { "_index" : "test_malformed", "_id" : "4" } }'
             - '{ "index" : { "_index" : "test_malformed", "_id" : "4" } }'
             - '{"version": "1.el6" }'
             - '{"version": "1.el6" }'
-            
+
   - do:
   - do:
         search:
         search:
           index: test_malformed
           index: test_malformed
@@ -89,7 +89,7 @@ setup:
             query: { "range" : { "version" : { "gte" : "1.1.0", "lt" : "9999" } } }
             query: { "range" : { "version" : { "gte" : "1.1.0", "lt" : "9999" } } }
 
 
   - match: { hits.total.value: 3 }
   - match: { hits.total.value: 3 }
-  
+
   - do:
   - do:
         search:
         search:
           index: test_index
           index: test_index
@@ -97,7 +97,7 @@ setup:
             query: { "range" : { "version" : { "gte" : "2.0.0", "lt" : "9999" } } }
             query: { "range" : { "version" : { "gte" : "2.0.0", "lt" : "9999" } } }
 
 
   - match: { hits.total.value: 1 }
   - match: { hits.total.value: 1 }
-  
+
   - do:
   - do:
         search:
         search:
           index: test_index
           index: test_index

+ 1 - 1
x-pack/plugin/src/test/resources/rest-api-spec/test/versionfield/20_scripts.yml

@@ -5,7 +5,7 @@ setup:
 
 
   - skip:
   - skip:
       features: headers
       features: headers
-      version: " - 7.10.00"
+      version: " - 7.10.0"
       reason: "version field is added to 7.10"
       reason: "version field is added to 7.10"
 
 
   - do:
   - do: