2 Commits

Author SHA1 Message Date
Ben Nemec
54c84da50a Add external lock fixture
This was requested by consumers of the library so they don't have
to enable external locks globally with the OSLO_LOCK_PATH env var,
which can mask bugs in unit tests that have interdependencies
because it makes every lock in any unit test shared.  The new
fixture allows a separate lock directory to be created for each
test, and allows external locking to only be enabled for tests
that need it.

Change-Id: Iae7ce302e1a3a5ad90ca5310f5ac7a6164867637
2014-11-26 22:41:13 +00:00
Doug Hellmann
bca4a0d827 Move out of the oslo namespace package
Move the public API out of oslo.concurrency to oslo_concurrency. Retain
the ability to import from the old namespace package for backwards
compatibility for this release cycle.

bp/drop-namespace-packages

Change-Id: I20d1647b1c3ef8cab3b69eccfe168eeb01703b72
2014-11-14 17:17:25 -05:00