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 |
||
---|---|---|
.. | ||
migrations | ||
__init__.py | ||
test_ipam.py | ||
test_migrations.py | ||
test_models.py | ||
test_network.py | ||
test_ovn_revision_numbers_db.py |