diff options
| author | Gary Kotton <gkotton@redhat.com> | 2013-03-21 06:11:36 +0000 |
|---|---|---|
| committer | Mark McLoughlin <markmc@redhat.com> | 2013-03-22 10:37:26 +0000 |
| commit | 88d316f0be89d8fe1cc5616091e0ceb47abfd55f (patch) | |
| tree | bc6c9bf6114350e8f43f8b83e9e13c96fed441dd /tests | |
| parent | 723ad7719a21751d8f9fe72787d7713eae58cade (diff) | |
| download | oslo-88d316f0be89d8fe1cc5616091e0ceb47abfd55f.tar.gz oslo-88d316f0be89d8fe1cc5616091e0ceb47abfd55f.tar.xz oslo-88d316f0be89d8fe1cc5616091e0ceb47abfd55f.zip | |
Locking edge case when lock_path does not exist
Fixes bug 1158179
In the case that the lock_path does not exist and there is a contested
resource then the process that was waiting on the lock will not
be locking due to the fact that the directory was deleted.
Change-Id: I75d720d4df499e85386d3e2cc86b927b017e12ac
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/unit/test_lockutils.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/unit/test_lockutils.py b/tests/unit/test_lockutils.py index ae5dca7..1230569 100644 --- a/tests/unit/test_lockutils.py +++ b/tests/unit/test_lockutils.py @@ -186,8 +186,6 @@ class LockTestCase(utils.BaseTestCase): shutil.rmtree(lock_dir, ignore_errors=True) def test_synchronized_externally_lock_dir_not_exist(self): - self.skipTest('bug #1107950') - lock_dir = tempfile.mkdtemp() os.rmdir(lock_dir) self.config(lock_path=lock_dir) |
