[HttpClient] fix testTimeoutIsNotAFatalError
This commit is contained in:
parent
4ab6ff37bd
commit
00ae470307
@ -97,7 +97,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