only if the environment variable RUN_OBJECTSTORE_TESTS is set the object store unit test will be executed
This commit is contained in:
parent
a779878657
commit
1a7d80acd7
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue