Skip to content

Commit 22470c4

Browse files
bors[bot]sanders41
andauthored
Merge #254
254: Adding a timeout to test_is_healthy_bad_route r=bidoubiwa a=sanders41 Closes #253 Co-authored-by: Paul Sanders <[email protected]>
2 parents edf4b4d + 147c217 commit 22470c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meilisearch/tests/client/test_client_health_meilisearch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ def test_is_healthy(client):
1212

1313
def test_is_healthy_bad_route():
1414
"""Tests checking if is_healthy returns false when trying to reach a bad URL."""
15-
client = meilisearch.Client("http://wrongurl:1234")
15+
client = meilisearch.Client("http://wrongurl:1234", timeout=1)
1616
response = client.is_healthy()
1717
assert response is False

0 commit comments

Comments
 (0)