File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ def _wait_for_server_start(self):
256256 :raises RuntimeError: If there is a problem starting the mock service.
257257 """
258258 s = requests .Session ()
259- retries = Retry (total = 15 , backoff_factor = 0.1 )
259+ retries = Retry (total = 9 , backoff_factor = 0.1 )
260260 s .mount ('http://' , HTTPAdapter (max_retries = retries ))
261261 resp = s .get (self .uri , headers = self .HEADERS )
262262 if resp .status_code != 200 :
Original file line number Diff line number Diff line change @@ -334,7 +334,7 @@ def test_wait_for_server_start_success(self):
334334 'http://localhost:1234' , headers = {'X-Pact-Mock-Service' : 'true' })
335335 self .mock_HTTPAdapter .assert_called_once_with (
336336 max_retries = self .mock_Retry .return_value )
337- self .mock_Retry .assert_called_once_with (total = 15 , backoff_factor = 0.1 )
337+ self .mock_Retry .assert_called_once_with (total = 9 , backoff_factor = 0.1 )
338338 self .assertFalse (pact ._process .communicate .called )
339339 self .assertFalse (pact ._process .terminate .called )
340340
@@ -352,7 +352,7 @@ def test_wait_for_server_start_failure(self):
352352 'http://localhost:1234' , headers = {'X-Pact-Mock-Service' : 'true' })
353353 self .mock_HTTPAdapter .assert_called_once_with (
354354 max_retries = self .mock_Retry .return_value )
355- self .mock_Retry .assert_called_once_with (total = 15 , backoff_factor = 0.1 )
355+ self .mock_Retry .assert_called_once_with (total = 9 , backoff_factor = 0.1 )
356356 pact ._process .communicate .assert_called_once_with ()
357357 pact ._process .terminate .assert_called_once_with ()
358358
You can’t perform that action at this time.
0 commit comments