Skip to content

Commit

Permalink
Update test_rest_api_spec.py
Browse files Browse the repository at this point in the history
  • Loading branch information
saimedhi authored Mar 13, 2024
1 parent 0cb86f6 commit 89919a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test_opensearchpy/test_server/test_rest_api_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 89919a4

Please sign in to comment.