commit 1b2ce8b2ef648b9c00dee53b84ca00b2a05ae3e2
Author: Jay S. Bryant <email address hidden>
Date: Tue Jan 13 16:25:24 2015 -0600
Use lockutils.set_defaults to set lock_path in test
Commit 9dd6d212f0d8fd74c29077a786fb6d770a2a0bba for oslo.concurrency's
lockutils appears to have broken our unit tests.
Twelve of the the storwize_svc unit tests started failing with the
complaint that the required configuration option 'lock_path' was not set.
This change updates cinder/test.py to not only set up a temporary
lock_path location that will be automatically cleaned up, but to also
register that temporary lock_path location using lockutils.set_defaults()
to correct the problem.
Reviewed: https:/ /review. openstack. org/146997 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=1b2ce8b2ef6 48b9c00dee53b84 ca00b2a05ae3e2
Committed: https:/
Submitter: Jenkins
Branch: master
commit 1b2ce8b2ef648b9 c00dee53b84ca00 b2a05ae3e2
Author: Jay S. Bryant <email address hidden>
Date: Tue Jan 13 16:25:24 2015 -0600
Use lockutils. set_defaults to set lock_path in test
Commit 9dd6d212f0d8fd7 4c29077a786fb6d 770a2a0bba for oslo.concurrency's
lockutils appears to have broken our unit tests.
Twelve of the the storwize_svc unit tests started failing with the
complaint that the required configuration option 'lock_path' was not set.
This change updates cinder/test.py to not only set up a temporary set_defaults( )
lock_path location that will be automatically cleaned up, but to also
register that temporary lock_path location using lockutils.
to correct the problem.
Change-Id: I011888f676ebc1 70e7285048b7e5a 638a5a8c9a9
Closes-bug: 1410485