Merge branch '5.0'
* 5.0: [HttpClient] fix testTimeoutIsNotAFatalError
This commit is contained in:
commit
3cdd2e4643
@ -109,7 +109,7 @@ abstract class HttpClientTestCase extends BaseHttpClientTestCase
|
|||||||
{
|
{
|
||||||
$client = $this->getHttpClient(__FUNCTION__);
|
$client = $this->getHttpClient(__FUNCTION__);
|
||||||
$response = $client->request('GET', 'http://localhost:8057/timeout-body', [
|
$response = $client->request('GET', 'http://localhost:8057/timeout-body', [
|
||||||
'timeout' => 0.3,
|
'timeout' => 0.1,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Reference in New Issue
Block a user