Skip to content

Commit b0a78f0

Browse files
Merge branch '4.3' into 4.4
* 4.3: [HttpClient] workaround curl_multi_select() issue [CI] fix building local packages Increase limits for flakey appveyor tests
2 parents 353b2a3 + e1f9e2f commit b0a78f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Test/HttpClientTestCase.php

Lines changed: 3 additions & 3 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

@@ -669,7 +669,7 @@ public function testDestruct()
669669
$duration = microtime(true) - $start;
670670

671671
$this->assertGreaterThan(1, $duration);
672-
$this->assertLessThan(3, $duration);
672+
$this->assertLessThan(4, $duration);
673673
}
674674

675675
public function testProxy()

0 commit comments

Comments
 (0)