summaryrefslogtreecommitdiffstats
path: root/nova/notifications.py
diff options
context:
space:
mode:
authorJohannes Erdfelt <johannes.erdfelt@rackspace.com>2012-09-18 20:03:53 +0000
committerJohannes Erdfelt <johannes.erdfelt@rackspace.com>2012-09-18 20:03:53 +0000
commit6f2010ca086a1c770017643f631322d4734facd8 (patch)
treeabc59684881fc17ececd28e548059db29a77d5f3 /nova/notifications.py
parent1db2f54e0bc2d9ac3b8140ff71b6f87e1f92a1cd (diff)
downloadnova-6f2010ca086a1c770017643f631322d4734facd8.tar.gz
nova-6f2010ca086a1c770017643f631322d4734facd8.tar.xz
nova-6f2010ca086a1c770017643f631322d4734facd8.zip
Fix race condition in CacheConcurrencyTestCase
Fixes bug 1052641 Recent changes made to fix bug 1035426 ended up creating a race condition in the tests for CacheConcurrencyTestCase. Since two greenthreads are used, the changes to utils.synchronized() can cause a race where one thread is deleting the lock directory out from under the other thread. An unrelated bug caused this race condition to be ignored since the greenthreads were never waited on and as a result, the exceptions never had a chance to be raised in the test case. Change-Id: I86b45414bbacd12bd3f5af323d26e0861c354ba8
Diffstat (limited to 'nova/notifications.py')
0 files changed, 0 insertions, 0 deletions