From 1a7d80acd7592972ca12efff2bfd912abfda269e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thomas=20M=C3=BCller?= <thomas.mueller@tmit.eu>
Date: Tue, 29 Jul 2014 21:51:21 +0200
Subject: [PATCH] only if the environment variable RUN_OBJECTSTORE_TESTS is set
 the object store unit test will be executed

---
 tests/lib/files/objectstore/swift.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/lib/files/objectstore/swift.php b/tests/lib/files/objectstore/swift.php
index 7f3b45c0da..b3fa4fa768 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');
-- 
GitLab