only if the environment variable RUN_OBJECTSTORE_TESTS is set the object store unit test will be executed

This commit is contained in:
Thomas Müller 2014-07-29 21:51:21 +02:00
parent a779878657
commit 1a7d80acd7
1 changed files with 3 additions and 0 deletions

View 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');