neutron/neutron
Rodolfo Alonso Hernandez 7946e41a62 [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
(cherry picked from commit c84ae9762c)
2021-03-27 17:21:12 +00:00
..
agent Merge "Clean port forwarding cache when router is DOWN" into stable/victoria 2021-03-26 14:55:30 +00:00
api Process DHCP events in order if related 2021-02-07 10:04:58 +00:00
cmd [SR-IOV] Do not fail if ip-link vf "min_tx_rate" is not supported 2021-03-11 15:43:46 +00:00
common [OVN] Set mcast_flood_reports on LSPs 2021-03-10 10:33:58 +00:00
conf Merge "[OVN][OVS] Different metadata_workers default based on driver" 2020-09-09 18:40:03 +00:00
core_extensions Remove usage of six.add_metaclass 2020-05-21 14:41:18 -04:00
db Revert "DVR: Remove control plane arp updates for DVR" 2021-03-09 13:07:17 +00:00
debug Fix neutron debug probe to use integration_bridge 2020-03-31 11:17:47 +00:00
extensions Add source_ip_prefix and destination_ip_prefix to metering label rules 2020-09-30 12:26:01 +00:00
hacking Remove "six" library 2020-07-28 16:55:52 +00:00
ipam Bump pylint version to support python 3.8 2020-08-06 16:00:30 +02:00
locale Imported Translations from Zanata 2020-05-03 07:38:11 +00:00
notifiers Add config option ``http_retries`` 2020-06-29 22:07:46 -04:00
objects Fix invalid JSON generated by quota details 2021-03-19 15:03:07 +00:00
pecan_wsgi Remove "six" library 2020-07-28 16:55:52 +00:00
plugins Merge "[SR-IOV] Do not fail if ip-link vf "min_tx_rate" is not supported" into stable/victoria 2021-03-22 18:58:43 +00:00
privileged Fix dhcp_release when client_id is specified 2020-10-02 14:53:10 +00:00
profiling Remove "six" library 2020-07-28 16:55:52 +00:00
quota Remove "six" library 2020-07-28 16:55:52 +00:00
scheduler L3 agent scheduler should return a valid index if manual scheduling 2020-06-24 15:37:23 +00:00
server Re-use existing ProcessLauncher from wsgi in RPC workers 2020-02-07 14:51:06 +01:00
services Add minimum bw qos rule validation for network 2021-03-04 14:30:58 +00:00
tests [FT] Reduce "test_walk_versions" upgrade executions 2021-03-27 17:21:12 +00:00
__init__.py Remove usage of six.PY2 2020-05-22 12:59:01 -04:00
_i18n.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
auth.py
manager.py Remove usage of six.add_metaclass 2020-05-21 14:41:18 -04:00
neutron_plugin_base_v2.py Remove usage of six.add_metaclass 2020-05-21 14:41:18 -04:00
opts.py No rpc_response_max_timeout in LB-agent 2020-06-01 15:25:20 +00:00
policy.py Remove usage of six.text_type and six.string_type 2020-05-22 14:02:55 -04:00
service.py Re-use existing ProcessLauncher from wsgi in RPC workers 2020-02-07 14:51:06 +01:00
version.py
worker.py Change process name of neutron-server to match worker role 2019-03-01 14:18:09 -05:00
wsgi.py Remove usage of six.text_type and six.string_type 2020-05-22 14:02:55 -04:00