Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
### Deprecated
### Removed
### Fixed
- Fixed test client initialization to ensure tests run locally ([879](https://github.com/opensearch-project/opensearch-py/pull/879))
### Security

## [2.8.0]
Expand Down
5 changes: 4 additions & 1 deletion test_opensearchpy/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@ def fetch_opensearch_repo() -> None:

# find out the sha of the running client
try:
client = get_client()
client = get_client(
verify_certs=False,
http_auth=("admin", environ.get("OPENSEARCH_PASSWORD", "admin")),
)
sha = client.info()["version"]["build_hash"]
except (SkipTest, KeyError):
print("No running opensearch >1.X server...")
Expand Down
Loading