We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15bae00 commit 1108a3aCopy full SHA for 1108a3a
test/test_pooling.py
@@ -469,12 +469,11 @@ def test_max_pool_size_zero(self):
469
with self.assertRaises(ValueError):
470
rs_or_single_client(maxPoolSize=0)
471
472
- @unittest.skip("PYTHON-1222")
473
def test_max_pool_size_with_connection_failure(self):
474
# The pool acquires its semaphore before attempting to connect; ensure
475
# it releases the semaphore on connection failure.
476
test_pool = Pool(
477
- ('example.com', 27017),
+ ('somedomainthatdoesntexist.org', 27017),
478
PoolOptions(
479
max_pool_size=1,
480
connect_timeout=1,
0 commit comments