diff options
Diffstat (limited to 'tests/lib/connector/sabre/file.php')
-rw-r--r-- | tests/lib/connector/sabre/file.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/connector/sabre/file.php b/tests/lib/connector/sabre/file.php index 835ca2ed242..e5605dd7cc5 100644 --- a/tests/lib/connector/sabre/file.php +++ b/tests/lib/connector/sabre/file.php @@ -210,7 +210,9 @@ class File extends \Test\TestCase { $caughtException = null; try { // last chunk + $file->acquireLock(ILockingProvider::LOCK_SHARED); $file->put('test data two'); + $file->releaseLock(ILockingProvider::LOCK_SHARED); } catch (\Exception $e) { $caughtException = $e; } |