Skip to content

Commit

Permalink
Testing: Fix test_no_connection_exception
Browse files Browse the repository at this point in the history
... when another CrateDB is running on the default port 4200.
  • Loading branch information
amotl committed Oct 31, 2024
1 parent f97af55 commit 7c11cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crate/client/test_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def test_connection_reset_exception(self):
client.close()

def test_no_connection_exception(self):
client = Client()
client = Client(servers="localhost:9999")
self.assertRaises(ConnectionError, client.sql, 'select foo')
client.close()

Expand Down

0 comments on commit 7c11cb5

Please sign in to comment.