diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-12-10 13:51:18 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-12-10 13:51:18 +0100 |
commit | df15d54db65a692f2ecf9307ae2a9b43c8fe0697 (patch) | |
tree | 38ceec2ef0c89f7f40e4e961deea8623b5c3d37b /tests | |
parent | 744ef6141bc190e21ddd24a9cad5829443ca0c1e (diff) | |
parent | e191953942fe6b32917c5e01f27879db87e369ce (diff) | |
download | nextcloud-server-df15d54db65a692f2ecf9307ae2a9b43c8fe0697.tar.gz nextcloud-server-df15d54db65a692f2ecf9307ae2a9b43c8fe0697.zip |
Merge pull request #21072 from owncloud/db-lock-ttl
Remove all locks after ttl from the db
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/lock/dblockingprovider.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/lib/lock/dblockingprovider.php b/tests/lib/lock/dblockingprovider.php index d679b1ea677..2032110f4f0 100644 --- a/tests/lib/lock/dblockingprovider.php +++ b/tests/lib/lock/dblockingprovider.php @@ -85,13 +85,7 @@ class DBLockingProvider extends LockingProvider { $this->assertEquals(3, $this->getLockEntryCount()); - $this->instance->cleanEmptyLocks(); - - $this->assertEquals(3, $this->getLockEntryCount()); - - $this->instance->releaseAll(); - - $this->instance->cleanEmptyLocks(); + $this->instance->cleanExpiredLocks(); $this->assertEquals(2, $this->getLockEntryCount()); } |