Comment 8 for bug 1563053

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to searchlight (stable/mitaka)

Reviewed: https://review.openstack.org/300228
Committed: https://git.openstack.org/cgit/openstack/searchlight/commit/?id=4abf9618720a6c0b2250a92e6869d49dc6aa2032
Submitter: Jenkins
Branch: stable/mitaka

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.

    Similar to https://review.openstack.org/#/c/172354

    Change-Id: I2b3c98ccd8f3540d5fe8bb1e21596c665600a7f6
    Closes-Bug: #1563053
    (cherry picked from commit 9fecc29a51ac06fa3d27bdd59e5016d77df4d12c)