From 3d68f1990977bedbe72a3ca112878bb9c257be0c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Julien=20Moumn=C3=A9?= <julien@moumne.com>
Date: Sun, 11 Aug 2013 22:33:15 +0200
Subject: [PATCH] increase http request timeout in core tests to make them pass
 on low-speed connections

---
 tests/PHPUnit/Core/HttpTest.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/PHPUnit/Core/HttpTest.php b/tests/PHPUnit/Core/HttpTest.php
index 5fe4945abd..66da277802 100644
--- a/tests/PHPUnit/Core/HttpTest.php
+++ b/tests/PHPUnit/Core/HttpTest.php
@@ -29,7 +29,7 @@ class HttpTest extends PHPUnit_Framework_TestCase
     public function testFetchRemoteFile($method)
     {
         $this->assertNotNull(Http::getTransportMethod());
-        $version = Http::sendHttpRequestBy($method, 'http://api.piwik.org/1.0/getLatestVersion/', 5);
+        $version = Http::sendHttpRequestBy($method, 'http://api.piwik.org/1.0/getLatestVersion/', 30);
         $this->assertTrue((boolean)preg_match('/^([0-9.]+)$/', $version));
     }
 
-- 
GitLab