c84ae9762c

"_TestWalkMigrations.test_walk_versions" is inherited in other classes to check a specific DB revision upgrade. The goal is to, from the previous DB revision, create a testing condition and then upgrade to the related DB revision. If the upgrade is correct, the test should pass. This patch reduces the number of Neutron DB upgrade operations to just three: - Upgrade the DB to the previous DB revision to check. - Upgrade the DB to the related DB revision, after setting the testing conditions. - A final upgrade up to the latest DB revision. In a testing deployment, this reduces the execution time from 60 seconds to 35 seconds, without reducing the testing scope. Change-Id: Iffdc0373ed72aea1320155ea8bec93dce797f27c Related-Bug: #1911153
OpenStack Neutron
Neutron is an OpenStack project to provide "network connectivity as a service" between interface devices (e.g., vNICs) managed by other OpenStack services (e.g., Nova).
To learn more about neutron:
- Documentation: https://docs.openstack.org/neutron/latest/
- Features: https://specs.openstack.org/openstack/neutron-specs
- Defects: https://launchpad.net/neutron
- Release notes: https://docs.openstack.org/releasenotes/neutron/index.html
- Source: https://opendev.org/openstack/neutron
Get in touch via email. Use [Neutron] in your subject.
To learn how to contribute, please read the CONTRIBUTING.rst file.
Description
Languages
Python
99.7%
Shell
0.3%