integration tests: Relax router interface status check
Previously the router interface test in the integration tests
checked the status of an added router interface, but the initial
status varies depending on a network backend used in neutron.
In case of neutron L3 agent, a new router interface has "Down" status,
but in case of OVN a new router interface has "Active" status.
This caused the integration test failure after DevStack switched
the default network backend from ML2/OVS to ML2/OVN.
The initial status of a new router interface depends on a network
backend and the neutron API does not define the initial status,
so it is too strict for the horizon integration tests to check
the status. This commit drops the status check.
It is sufficient to check the existence of a new router interface.
Reviewed: https:/ /review. opendev. org/c/openstack /horizon/ +/794718 /opendev. org/openstack/ horizon/ commit/ 866a17037979e0e 23ecc3e416c873a 5be93044b6
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 866a17037979e0e 23ecc3e416c873a 5be93044b6
Author: Akihiro Motoki <email address hidden>
Date: Fri Jun 4 16:18:56 2021 +0900
integration tests: Relax router interface status check
Previously the router interface test in the integration tests
checked the status of an added router interface, but the initial
status varies depending on a network backend used in neutron.
In case of neutron L3 agent, a new router interface has "Down" status,
but in case of OVN a new router interface has "Active" status.
This caused the integration test failure after DevStack switched
the default network backend from ML2/OVS to ML2/OVN.
The initial status of a new router interface depends on a network
backend and the neutron API does not define the initial status,
so it is too strict for the horizon integration tests to check
the status. This commit drops the status check.
It is sufficient to check the existence of a new router interface.
Change-Id: Idfd4a9206e8555 8ba17e476a47b38 ee9c1f566fa
Closes-Bug: #1930405