Browse Source

skip expiry test for memcache on travis

fixes #877
tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
0e3d48f288
  1. 8
      tests/unit/framework/caching/MemCacheTest.php
  2. 8
      tests/unit/framework/caching/MemCachedTest.php

8
tests/unit/framework/caching/MemCacheTest.php

@ -26,4 +26,12 @@ class MemCacheTest extends CacheTestCase
} }
return $this->_cacheInstance; 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();
}
} }

8
tests/unit/framework/caching/MemCachedTest.php

@ -26,4 +26,12 @@ class MemCachedTest extends CacheTestCase
} }
return $this->_cacheInstance; 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();
}
} }

Loading…
Cancel
Save