Explorar o código

Skip tests on hhvm

Jordi Boggiano %!s(int64=10) %!d(string=hai) anos
pai
achega
55895ab494
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      tests/Composer/Test/CacheTest.php

+ 8 - 0
tests/Composer/Test/CacheTest.php

@@ -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);