Skip to content

Commit 1108a3a

Browse files
committed
PYTHON-1222 - Attempt to fix pooling test on zSeries
1 parent 15bae00 commit 1108a3a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/test_pooling.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,12 +469,11 @@ def test_max_pool_size_zero(self):
469469
with self.assertRaises(ValueError):
470470
rs_or_single_client(maxPoolSize=0)
471471

472-
@unittest.skip("PYTHON-1222")
473472
def test_max_pool_size_with_connection_failure(self):
474473
# The pool acquires its semaphore before attempting to connect; ensure
475474
# it releases the semaphore on connection failure.
476475
test_pool = Pool(
477-
('example.com', 27017),
476+
('somedomainthatdoesntexist.org', 27017),
478477
PoolOptions(
479478
max_pool_size=1,
480479
connect_timeout=1,

0 commit comments

Comments
 (0)