]> source.dussan.org Git - nextcloud-server.git/commitdiff
only if the environment variable RUN_OBJECTSTORE_TESTS is set the object store unit...
authorThomas Müller <thomas.mueller@tmit.eu>
Tue, 29 Jul 2014 19:51:21 +0000 (21:51 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Thu, 31 Jul 2014 20:43:45 +0000 (22:43 +0200)
tests/lib/files/objectstore/swift.php

index 7f3b45c0dabd0056e3924119b32b9fe124fa7221..b3fa4fa768c210d70d23c2e15514d534cb18eb92 100644 (file)
@@ -31,6 +31,9 @@ class Swift extends \Test\Files\Storage\Storage {
        private $objectStorage;
 
        public function setUp() {
+               if (!getenv('RUN_OBJECTSTORE_TESTS')) {
+                       $this->markTestSkipped('objectstore tests are unreliable on travis');
+               }
 
                \OC_App::disable('files_sharing');
                \OC_App::disable('files_versions');