We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 353b2a3 + e1f9e2f commit b0a78f0Copy full SHA for b0a78f0
Test/HttpClientTestCase.php
@@ -597,9 +597,9 @@ public function testNotATimeout()
597
{
598
$client = $this->getHttpClient(__FUNCTION__);
599
$response = $client->request('GET', 'http://localhost:8057/timeout-header', [
600
- 'timeout' => 0.5,
+ 'timeout' => 0.9,
601
]);
602
- usleep(510000);
+ sleep(1);
603
$this->assertSame(200, $response->getStatusCode());
604
}
605
@@ -669,7 +669,7 @@ public function testDestruct()
669
$duration = microtime(true) - $start;
670
671
$this->assertGreaterThan(1, $duration);
672
- $this->assertLessThan(3, $duration);
+ $this->assertLessThan(4, $duration);
673
674
675
public function testProxy()
0 commit comments