diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-08-12 16:44:43 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-09-14 20:35:33 +0200 |
commit | 9202d2f45a2de77709378aff15c7397f0ae099ce (patch) | |
tree | 36b5b346d073195f127188dbae92098b708bbe24 /tests | |
parent | 75f126da49acefb54f64f4ce04cc1915bb3fbbcc (diff) | |
download | nextcloud-server-9202d2f45a2de77709378aff15c7397f0ae099ce.tar.gz nextcloud-server-9202d2f45a2de77709378aff15c7397f0ae099ce.zip |
fix chunking tests
Diffstat (limited to 'tests')
-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; } |