Skip to content

Commit 90a97c7

Browse files
committed
CI: Improve timeouts like "ConnectionError: No more Servers available"
Occasionally, the test suite would croak like: crate.client.exceptions.ConnectionError: No more Servers available, exception from last server: HTTPConnectionPool(host='127.0.0.1', port=44209): Read timed out. (read timeout=2) By removing the "timeout=2" parameter, that error might go away on CI.
1 parent 0cc2e12 commit 90a97c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crate/client/doctests/client.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Inserting Data
102102

103103
Use user "crate" for rest of the tests::
104104

105-
>>> connection = client.connect([crate_host], timeout=2)
105+
>>> connection = client.connect([crate_host])
106106

107107
Before executing any statement a cursor has to be opened to perform
108108
database operations::

0 commit comments

Comments
 (0)