yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #08806
[Bug 1261728] Re: Interprocess file locks aren't usable in unit tests
** Changed in: nova
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1261728
Title:
Interprocess file locks aren't usable in unit tests
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
Base test case class has a fixture, that overrides CONF.lock_path
value, which means that every test case will have CONF.lock_path set
to its own temporary dir path. This makes interprocess locks unusable
in unit tests, which is likely to break tests when they are run
concurrently using testr (e.g. tests using MySQL/PostgreSQL might want
to be run exclusively).
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1261728/+subscriptions
References