commit 4abf9618720a6c0b2250a92e6869d49dc6aa2032
Author: Steve McLellan <email address hidden>
Date: Tue Mar 29 10:33:02 2016 -0500
Disable oslo_config file discovery in tests
oslo_config looks for files in some standard places
(~/.searchlight.conf, /etc/searchlight/searchlight.conf,
./etc/searchlight.conf and possibly more). This means that
unit tests were using one of these config files which could
cause failures under some circumstances. This patch monkey
patches the find_config_files function during tests which
prevents this behavior.
Reviewed: https:/ /review. openstack. org/300228 /git.openstack. org/cgit/ openstack/ searchlight/ commit/ ?id=4abf9618720 a6c0b2250a92e68 69d49dc6aa2032
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 4abf9618720a6c0 b2250a92e6869d4 9dc6aa2032
Author: Steve McLellan <email address hidden>
Date: Tue Mar 29 10:33:02 2016 -0500
Disable oslo_config file discovery in tests
oslo_config looks for files in some standard places .searchlight. conf, /etc/searchligh t/searchlight. conf, searchlight. conf and possibly more). This means that
(~/
./etc/
unit tests were using one of these config files which could
cause failures under some circumstances. This patch monkey
patches the find_config_files function during tests which
prevents this behavior.
Similar to https:/ /review. openstack. org/#/c/ 172354
Change-Id: I2b3c98ccd8f354 0d5fe8bb1e21596 c665600a7f6 a3d27bdd59e5016 d77df4d12c)
Closes-Bug: #1563053
(cherry picked from commit 9fecc29a51ac06f