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: