From 0e3d48f2884c175d435524350c314dc1dc8c4935 Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Tue, 29 Oct 2013 13:10:51 +0100 Subject: [PATCH] skip expiry test for memcache on travis fixes #877 --- tests/unit/framework/caching/MemCacheTest.php | 8 ++++++++ tests/unit/framework/caching/MemCachedTest.php | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/tests/unit/framework/caching/MemCacheTest.php b/tests/unit/framework/caching/MemCacheTest.php index 32374b5..858196e 100644 --- a/tests/unit/framework/caching/MemCacheTest.php +++ b/tests/unit/framework/caching/MemCacheTest.php @@ -26,4 +26,12 @@ class MemCacheTest extends CacheTestCase } return $this->_cacheInstance; } + + public function testExpire() + { + if (isset($_ENV['TRAVIS']) && $_ENV['TRAVIS']) { + $this->markTestSkipped('Can not reliably test memcache expiry on travis-ci.'); + } + parent::testExpire(); + } } diff --git a/tests/unit/framework/caching/MemCachedTest.php b/tests/unit/framework/caching/MemCachedTest.php index 807cef1..1536ac9 100644 --- a/tests/unit/framework/caching/MemCachedTest.php +++ b/tests/unit/framework/caching/MemCachedTest.php @@ -26,4 +26,12 @@ class MemCachedTest extends CacheTestCase } return $this->_cacheInstance; } + + public function testExpire() + { + if (isset($_ENV['TRAVIS']) && $_ENV['TRAVIS']) { + $this->markTestSkipped('Can not reliably test memcached expiry on travis-ci.'); + } + parent::testExpire(); + } }