@@ -358,7 +358,6 @@ def test_no_req_ids(self, *args):
358358 self .assertEqual (max_connection .send_msg .call_count , 0 )
359359 self .assertEqual (max_connection .send_msg .call_count , 0 )
360360 max_connection .defunct .assert_has_calls ([call (ANY )] * get_holders .call_count )
361- holder .shutdown_on_error = True
362361 holder .return_connection .assert_has_calls (
363362 [call (max_connection )] * get_holders .call_count )
364363
@@ -388,7 +387,6 @@ def send_msg(msg, req_id, msg_callback):
388387 exc = connection .defunct .call_args_list [0 ][0 ][0 ]
389388 self .assertIsInstance (exc , ConnectionException )
390389 self .assertRegexpMatches (exc .args [0 ], r'^Received unexpected response to OptionsMessage.*' )
391- holder .shutdown_on_error = True
392390 holder .return_connection .assert_has_calls (
393391 [call (connection )] * get_holders .call_count )
394392
@@ -419,7 +417,6 @@ def send_msg(msg, req_id, msg_callback):
419417 self .assertIsInstance (exc , OperationTimedOut )
420418 self .assertEqual (exc .errors , 'Connection heartbeat timeout after 0.05 seconds' )
421419 self .assertEqual (exc .last_host , 'localhost' )
422- holder .shutdown_on_error = True
423420 holder .return_connection .assert_has_calls (
424421 [call (connection )] * get_holders .call_count )
425422
0 commit comments