8000 minor #31118 [HttpClient] fix too high timeout in test (nicolas-grekas) · symfony/symfony@498c749 · GitHub
[go: up one dir, main page]

Skip to content

Commit 498c749

Browse files
minor #31118 [HttpClient] fix too high timeout in test (nicolas-grekas)
This PR was merged into the 4.3-dev branch. Discussion ---------- [HttpClient] fix too high timeout in test | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT 8000 | Doc PR | - This makes tests pass without waiting for no reasons. Commits ------- 8f69954 [HttpClient] fix too high timeout in test
2 parents 238f844 + 8f69954 commit 498c749

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Contracts/HttpClient/Test/HttpClientTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ public function testResolve()
541541

542542
$response = null;
543543
$this->expectException(TransportExceptionInterface::class);
544-
$client->request('GET', 'http://symfony.com:8057/');
544+
$client->request('GET', 'http://symfony.com:8057/', ['timeout' => 3]);
545545
}
546546

547547
public function testTimeoutOnAccess()

0 commit comments

Comments
 (0)
0