[Pkg-owncloud-commits] [owncloud] 01/07: only if the environment variable RUN_OBJECTSTORE_TESTS is set the object store unit test will be executed

David Prévot taffit at moszumanska.debian.org
Mon Aug 4 16:35:00 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit f359e3432e6b58ef690425229014f6a9de8173c4
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date:   Tue Jul 29 21:51:21 2014 +0200

    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 7f3b45c..b3fa4fa 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');

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list