Skip to content

Commit e1f9e2f

Browse files
[HttpClient] workaround curl_multi_select() issue
1 parent ac13318 commit e1f9e2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Test/HttpClientTestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -597,9 +597,9 @@ public function testNotATimeout()
597597
{
598598
$client = $this->getHttpClient(__FUNCTION__);
599599
$response = $client->request('GET', 'http://localhost:8057/timeout-header', [
600-
'timeout' => 0.5,
600+
'timeout' => 0.9,
601601
]);
602-
usleep(510000);
602+
sleep(1);
603603
$this->assertSame(200, $response->getStatusCode());
604604
}
605605

0 commit comments

Comments
 (0)