mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Skip tests on hhvm
This commit is contained in:
parent
da881c118b
commit
55895ab494
1 changed files with 8 additions and 0 deletions
|
@ -46,6 +46,10 @@ class CacheTest extends TestCase
|
|||
|
||||
public function testRemoveOutdatedFiles()
|
||||
{
|
||||
if (defined('HHVM_VERSION')) {
|
||||
$this->markTestSkipped('Test causes intermittent failures with HHVM on Travis');
|
||||
}
|
||||
|
||||
// sleeping a bit to let the filesystem cool down on travis or it has intermittent failures
|
||||
usleep(50000);
|
||||
|
||||
|
@ -69,6 +73,10 @@ class CacheTest extends TestCase
|
|||
|
||||
public function testRemoveFilesWhenCacheIsTooLarge()
|
||||
{
|
||||
if (defined('HHVM_VERSION')) {
|
||||
$this->markTestSkipped('Test causes intermittent failures with HHVM on Travis');
|
||||
}
|
||||
|
||||
// sleeping a bit to let the filesystem cool down on travis or it has intermittent failures
|
||||
usleep(50000);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue