From b98dd3ceb84f1372415fd69bc7992d0bba954f3f Mon Sep 17 00:00:00 2001
From: Robin Appelman <icewind@owncloud.com>
Date: Wed, 20 May 2015 13:08:56 +0200
Subject: [PATCH] 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 c1ebfb025c..d8595c83a9 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];
 		}
-- 
GitLab