Browse Source

Adjust version skips for intervals rest tests (#50588)

The rest tests for prefix, wildcard and fuzzy intervals can all be run
against 7.x clusters.  Also corrects the invocation of the fuzzy interval.
Alan Woodward 5 years ago
parent
commit
b41da0944b

+ 7 - 7
rest-api-spec/src/main/resources/rest-api-spec/test/search/230_interval_query.yml

@@ -387,8 +387,8 @@ setup:
 ---
 "Test prefix":
   - skip:
-      version: " - 8.0.0"
-      reason: "TODO: change to 7.3 in backport"
+      version: " - 7.2.99"
+      reason: "Implemented in 7.3"
   - do:
       search:
         index: test
@@ -407,8 +407,8 @@ setup:
 ---
 "Test wildcard":
   - skip:
-      version: " - 8.0.0"
-      reason: "TODO: change to 7.3 in backport"
+      version: " - 7.2.99"
+      reason: "Implemented in 7.3"
   - do:
       search:
         index: test
@@ -427,8 +427,8 @@ setup:
 ---
 "Test fuzzy match":
   - skip:
-      version: " - 8.0.0"
-      reason: "TODO: change to 7.6 in backport"
+      version: " - 7.5.99"
+      reason: "Implemented in 7.6"
   - do:
       search:
         index: test
@@ -439,7 +439,7 @@ setup:
                 all_of:
                   intervals:
                     - fuzzy:
-                        query: cald
+                        term: cald
                     - prefix:
                         prefix: out
   - match: { hits.total.value: 3 }