Skip to content

Commit 2f18692

Browse files
committed
Increase connection timeout to avoid assertion failing as "couldn't connect to host"
1 parent 544144c commit 2f18692

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/PHPCurlClass/PHPCurlClassTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ public function testMultipleCookieResponse() {
285285

286286
public function testError() {
287287
$test = new Test();
288-
$test->curl->setOpt(CURLOPT_CONNECTTIMEOUT_MS, 2000);
288+
$test->curl->setOpt(CURLOPT_CONNECTTIMEOUT_MS, 4000);
289289
$test->curl->get(Test::ERROR_URL);
290290
$this->assertTrue($test->curl->error);
291291
$this->assertTrue($test->curl->curl_error);

0 commit comments

Comments
 (0)