PYTHON-1222 - Attempt to fix pooling test on zSeries
This commit is contained in:
parent
15bae00c83
commit
1108a3a8e0
@ -469,12 +469,11 @@ class TestPoolMaxSize(_TestPoolingBase):
|
||||
with self.assertRaises(ValueError):
|
||||
rs_or_single_client(maxPoolSize=0)
|
||||
|
||||
@unittest.skip("PYTHON-1222")
|
||||
def test_max_pool_size_with_connection_failure(self):
|
||||
# The pool acquires its semaphore before attempting to connect; ensure
|
||||
# it releases the semaphore on connection failure.
|
||||
test_pool = Pool(
|
||||
('example.com', 27017),
|
||||
('somedomainthatdoesntexist.org', 27017),
|
||||
PoolOptions(
|
||||
max_pool_size=1,
|
||||
connect_timeout=1,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user