From 55b2f9605fb8fb941b4d5335330fdafc0d8116b2 Mon Sep 17 00:00:00 2001 From: Andrew Ross Date: Fri, 21 Oct 2022 17:13:41 +0000 Subject: [PATCH] Skip uppercase regex tests before 2.4.0 This feature was backported in #4219 and will only be present in version 2.4 and newer. The test must be skipped for mixed cluster cases with nodes older than 2.4. Signed-off-by: Andrew Ross --- .../rest-api-spec/test/search/190_index_prefix_search.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search/190_index_prefix_search.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/190_index_prefix_search.yml index ca8e89aa2d5b5..4532a26451c05 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search/190_index_prefix_search.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search/190_index_prefix_search.yml @@ -84,6 +84,9 @@ setup: --- "search with uppercase regex": + - skip: + version: " - 2.3.99" + reason: uppercase regex not supported before 2.4.0 - do: search: rest_total_hits_as_int: true