From a5503b467d77d0ab4c2d63b4f0207300dc5b693e Mon Sep 17 00:00:00 2001 From: Heemin Kim Date: Thu, 20 Oct 2022 13:04:13 -0700 Subject: [PATCH] Skip geojson test for version below 2.4 Signed-off-by: Heemin Kim --- CHANGELOG.md | 1 + .../resources/rest-api-spec/test/index/80_geo_point.yml | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c7b736205b87b..34f0223e814ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -152,6 +152,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Fix recovery path for searchable snapshots ([4813](https://github.com/opensearch-project/OpenSearch/pull/4813)) - Fix bug in AwarenessAttributeDecommissionIT([4822](https://github.com/opensearch-project/OpenSearch/pull/4822)) - Fix 'org.apache.hc.core5.http.ParseException: Invalid protocol version' under JDK 16+ ([#4827](https://github.com/opensearch-project/OpenSearch/pull/4827)) +- [BUG]: flaky test index/80_geo_point/Single point test([#4860](https://github.com/opensearch-project/OpenSearch/pull/4860)) ### Security - CVE-2022-25857 org.yaml:snakeyaml DOS vulnerability ([#4341](https://github.com/opensearch-project/OpenSearch/pull/4341)) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/index/80_geo_point.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/index/80_geo_point.yml index d15529af0041a..7d6c2b835f1f7 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/index/80_geo_point.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/index/80_geo_point.yml @@ -12,6 +12,9 @@ setup: --- "Single point test": + - skip: + version: " - 2.3.99" + reason: "geojson format is supported in 2.4 and above" - do: bulk: refresh: true @@ -75,6 +78,9 @@ setup: --- "Multi points test": + - skip: + version: " - 2.3.99" + reason: "geojson format is supported in 2.4 and above" - do: bulk: refresh: true