Comment 3 for bug 1962854

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron (master)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/834070
Committed: https://opendev.org/openstack/neutron/commit/282ccbb8f0b471d9bc96261ab1866ffca4ec2b97
Submitter: "Zuul (22348)"
Branch: master

commit 282ccbb8f0b471d9bc96261ab1866ffca4ec2b97
Author: Slawek Kaplonski <email address hidden>
Date: Wed Mar 16 21:19:37 2022 +0100

    [Fullstack] Remove dhcp agent in tests where it isn't necessary

    In fullstack tests like test_connectivity or test_securitygroup using
    dhcp agent isn't really needed. We are testing dhcp agents and
    configuration of the IP addresses using DHCP in the tests from the
    test_dhcp_agent module.
    So this patch disables usage of the dhcp agent where it's not really
    needed to save some resources (less agents running during tests) and to
    minimize potential failures in the tests.

    Additionally this patch also adds method
    block_until_all_dhcp_config_done() to the FakeFullstackMachinesList
    class and uses it in tests when fake VMs are using DHCP. That will
    hopefully help better understand where the issue is in case of failures
    like described in the related bug.

    Related-Bug: #1962854
    Change-Id: Ib6ca18b5a0ae101ad6424637abff3d992737f6f4