Comment 8 for bug 1895322

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to nova (stable/ussuri)

Reviewed: https://review.opendev.org/754220
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=9ac794b93b827dde1d9545b88fd7913b7c00dacb
Submitter: Zuul
Branch: stable/ussuri

commit 9ac794b93b827dde1d9545b88fd7913b7c00dacb
Author: Artom Lifshitz <email address hidden>
Date: Mon Sep 21 11:47:08 2020 -0400

    Test for disabling greendns

    In commit 7c1d964faa we fixed how we disable greendns. This patch adds
    a test for this. It also lays down the groundwork for future tests
    of how we manage eventlet's monkeypatching.

    How and what eventlet monkeypatches can be controlled by environment
    variables that are processed by eventlet at import-time (for exmaple,
    EVENTLET_NO_GREENDNS). Nova manages all of this in nova.monkey_patch.
    Therefore, nova.monkey_patch must be the first thing to import
    eventlet. As nova.tests.functional.__init__ imports nova.monkey_patch,
    our new test can go in the functional tree.

    Related-bug: 1895322
    Change-Id: I5b6c45b7b9a9eca3c13ecfaa5f50942922b69270
    (cherry picked from commit 6f35e4fd2afdb8e26682fc5bd73dbe23236d25c7)