Fixed infinite loop in tests with FSLockManager.
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 6 Jun 2012 05:06:56 +0000 (22:06 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 6 Jun 2012 05:07:09 +0000 (22:07 -0700)
commit47de3d2aec5c054ece96bb82fb358336b432232f
treeb7e2d73d92727c5260c6db0d6aa5e8fe7c66b4cb
parentc29fd59775f597847a57f598a76de48c63952243
Fixed infinite loop in tests with FSLockManager.

* If PHPUnit converts warnings to exceptions, any I/O warnings can throw
exceptions which leave locksHeld in an inconsistent state, breaking the
__destruct() function. This commits reorders the variable update slightly.

Change-Id: I5deac811e7b4d0bc71f3d4096b8d72711904a444
includes/filerepo/backend/lockmanager/FSLockManager.php