Skip to content

Commit 7c11cb5

Browse files
committed
Testing: Fix test_no_connection_exception
... when another CrateDB is running on the default port 4200.
1 parent f97af55 commit 7c11cb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crate/client/test_http.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def test_connection_reset_exception(self):
127127
client.close()
128128

129129
def test_no_connection_exception(self):
130-
client = Client()
130+
client = Client(servers="localhost:9999")
131131
self.assertRaises(ConnectionError, client.sql, 'select foo')
132132
client.close()
133133

0 commit comments

Comments
 (0)