summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-07-29 21:51:21 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-07-29 21:51:21 +0200
commit1a7d80acd7592972ca12efff2bfd912abfda269e (patch)
tree760f92abece19135ea7307d952aea27e29b98227 /tests
parenta779878657f39d338cf2f822925776b2f4d28338 (diff)
downloadnextcloud-server-1a7d80acd7592972ca12efff2bfd912abfda269e.tar.gz
nextcloud-server-1a7d80acd7592972ca12efff2bfd912abfda269e.zip
only if the environment variable RUN_OBJECTSTORE_TESTS is set the object store unit test will be executed
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/files/objectstore/swift.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/lib/files/objectstore/swift.php b/tests/lib/files/objectstore/swift.php
index 7f3b45c0dab..b3fa4fa768c 100644
--- a/tests/lib/files/objectstore/swift.php
+++ b/tests/lib/files/objectstore/swift.php
@@ -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');