neutron/neutron/tests/functional/db
Rodolfo Alonso Hernandez c84ae9762c [FT] Reduce "test_walk_versions" upgrade executions
"_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
2021-01-18 11:03:56 +00:00
..
migrations [FT] Remove unneeded DB migration tests 2021-01-12 12:02:40 +00:00
__init__.py Freeze models for healing migration 2014-07-14 18:36:05 +02:00
test_ipam.py Fix flake8 H404 errors 2018-10-05 21:48:41 +00:00
test_migrations.py [FT] Reduce "test_walk_versions" upgrade executions 2021-01-18 11:03:56 +00:00
test_models.py All functional tests logs results now 2018-11-21 19:58:18 +00:00
test_network.py Complete removal of dependency on the "mock" package 2020-05-01 12:05:34 -04:00
test_ovn_revision_numbers_db.py [OVN] Add missing OVN functional tests 2020-03-03 09:21:25 +00:00