From 674a1d0f85eb6175bb3d5090784c95c767648135 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 3 Mar 2018 09:57:15 +0100 Subject: v4.0.0RC2 --- redis-tests.patch | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 redis-tests.patch (limited to 'redis-tests.patch') diff --git a/redis-tests.patch b/redis-tests.patch deleted file mode 100644 index 07dbb42..0000000 --- a/redis-tests.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 627bd89b45ba09b689e692a23370e5d82d9829a1 Mon Sep 17 00:00:00 2001 -From: Remi Collet -Date: Thu, 8 Feb 2018 05:47:28 +0100 -Subject: [PATCH] skip online test - ---- - tests/RedisTest.php | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/tests/RedisTest.php b/tests/RedisTest.php -index 4c0b7884..4d807a78 100644 ---- a/tests/RedisTest.php -+++ b/tests/RedisTest.php -@@ -5164,9 +5164,13 @@ public function testMultipleConnect() { - } - - public function testConnectException() { -+ $host = 'github.com'; -+ if (gethostbyname($host) === $host) { -+ return $this->markTestSkipped('online test'); -+ } - $redis = new Redis(); - try { -- $redis->connect('github.com', 6379, 0.01); -+ $redis->connect($host, 6379, 0.01); - } catch (Exception $e) { - $this->assertTrue(strpos($e, "timed out") !== false); - } -- cgit