commit 9fecc29a51ac06fa3d27bdd59e5016d77df4d12c
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/298830 /git.openstack. org/cgit/ openstack/ searchlight/ commit/ ?id=9fecc29a51a c06fa3d27bdd59e 5016d77df4d12c
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9fecc29a51ac06f a3d27bdd59e5016 d77df4d12c
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
Closes-Bug: #1563053