From b52dcda851103671135529893659641070e6437b Mon Sep 17 00:00:00 2001 From: diosmosis <benakamoorthi@fastmail.fm> Date: Sun, 6 Jul 2014 18:59:22 -0700 Subject: [PATCH] Try to fix travis failure (increase timeout for ArchiveWebTest request). --- tests/PHPUnit/Integration/ArchiveWebTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/PHPUnit/Integration/ArchiveWebTest.php b/tests/PHPUnit/Integration/ArchiveWebTest.php index 83feb9c061..1ebd4b1097 100644 --- a/tests/PHPUnit/Integration/ArchiveWebTest.php +++ b/tests/PHPUnit/Integration/ArchiveWebTest.php @@ -31,7 +31,7 @@ class Test_Piwik_Integration_ArchiveWebTest extends IntegrationTestCase $urlTmp = Option::get('piwikUrl'); Option::set('piwikUrl', $host . 'tests/PHPUnit/proxy/index.php'); - $streamContext = stream_context_create(array('http' => array('timeout' => 180))); + $streamContext = stream_context_create(array('http' => array('timeout' => 600))); $url = $host . 'tests/PHPUnit/proxy/archive.php?token_auth=' . $token . '&forcelogtoscreen=1'; $output = file_get_contents($url, 0, $streamContext); -- GitLab