Skip to content

Commit

Permalink
Forgotten update on es client object
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoooo committed Apr 17, 2023
1 parent a5d55d5 commit 794bfeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def wait_for(url: str, retries: int = 2, backoff: float = 0.2):
def elastic_search():
wait_for(f"http://localhost:9200/")
with ElasticsearchConnectionManager("localhost", "9200", "", "", False) as es:
print("EsInfo", es.info())
print("EsInfo", es.client.info())
def search(body: dict) -> None:
es.client.indices.flush()
es.client.indices.refresh()
Expand Down

0 comments on commit 794bfeb

Please sign in to comment.