[Pkg-owncloud-commits] [owncloud] 216/457: release all locks after test

David Prévot taffit at moszumanska.debian.org
Sun Jun 28 20:06:09 UTC 2015


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

taffit pushed a commit to branch stable8
in repository owncloud.

commit b98dd3ceb84f1372415fd69bc7992d0bba954f3f
Author: Robin Appelman <icewind at owncloud.com>
Date:   Wed May 20 13:08:56 2015 +0200

    release all locks after test
---
 tests/lib/testcase.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/lib/testcase.php b/tests/lib/testcase.php
index c1ebfb0..d8595c8 100644
--- a/tests/lib/testcase.php
+++ b/tests/lib/testcase.php
@@ -43,6 +43,7 @@ abstract class TestCase extends \PHPUnit_Framework_TestCase {
 	protected function tearDown() {
 		$hookExceptions = \OC_Hook::$thrownExceptions;
 		\OC_Hook::$thrownExceptions = [];
+		\OC::$server->getLockingProvider()->releaseAll();
 		if(!empty($hookExceptions)) {
 			throw $hookExceptions[0];
 		}

-- 
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