From 89919a47cf6a056e2a9de4807a577c4b76efde6b Mon Sep 17 00:00:00 2001 From: Sai Medhini Reddy Maryada <117196660+saimedhi@users.noreply.github.com> Date: Wed, 13 Mar 2024 04:02:06 -0700 Subject: [PATCH] Update test_rest_api_spec.py --- test_opensearchpy/test_server/test_rest_api_spec.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test_opensearchpy/test_server/test_rest_api_spec.py b/test_opensearchpy/test_server/test_rest_api_spec.py index 1f4e0fbf..50a00d78 100644 --- a/test_opensearchpy/test_server/test_rest_api_spec.py +++ b/test_opensearchpy/test_server/test_rest_api_spec.py @@ -322,7 +322,9 @@ def run_skip(self, skip: Any) -> Any: max_version = _get_version(max_version) or (999,) print("min_version", min_version) print("max_version", max_version) + print("max_version", self.opensearch_version()) if min_version <= (self.opensearch_version()) <= max_version: + print("printed skipped") pytest.skip(reason) def run_gt(self, action: Any) -> None: