neutron/neutron/tests/functional
Slawek Kaplonski bed8c6d580 [Functional] Fix expected number of the enqueue_state_change calls
In the HA router's keepalived state change monitor tests, it was
expected that enqueue_state_change method will be called 3 or 4 times.
But after some changes in the keepalived_state_change monitor which were
done some time ago, it may be now that it will be called just 2 or 3
times:
- 2 when initial status will be "primary" and it will be just
  transition to "backup",
- 3 when initial status will be "backup", then it will transition to
  "primary" and finally to "backup" again.

To reflect those 2 possibilities, test was changed that it will expect
2 or 3 calls and will check only that last 2 will be always transition
to "primary" and then to "backup".

Additionally this patch adds some extra logging in that test so it will
be easier to check what was going on in that test.

Conflicts:
    neutron/tests/functional/agent/l3/test_ha_router.py

Closes-Bug: #1954751
Change-Id: Ib5de7e65839f52c35c43801969e3f0c16dead5bb
(cherry picked from commit c6a6c5ae12)
(cherry picked from commit 533ca2c99c)
2021-12-22 15:15:58 +01:00
..
agent [Functional] Fix expected number of the enqueue_state_change calls 2021-12-22 15:15:58 +01:00
api Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
cmd Deprecate config option "ovs_integration_bridge" 2020-02-17 11:02:16 +00:00
common All functional tests logs results now 2018-11-21 19:58:18 +00:00
db Remove FT "test_has_offline_migrations_*" tests 2021-04-07 09:17:48 +00:00
objects Randomize segmentation ID assignation 2021-09-10 11:27:15 +02:00
pecan_wsgi Remove references to unittest2 library 2020-01-14 09:03:26 +00:00
plugins [ovn] Stop monitoring the SB MAC_Binding table to reduce mem footprint 2021-10-26 13:32:15 +01:00
privileged Migrate "netstat" to oslo.privsep 2021-02-25 09:55:41 +01:00
resources [OVN] Add OVN functional tests - part 1 2020-02-18 13:33:52 +00:00
sanity Use pyroute2 for SRIOV VF commands 2020-06-26 06:09:48 +00:00
scheduler Add binding_index to NetworkDhcpAgentBinding 2019-08-29 12:52:07 +04:00
services Revert "DVR: Remove control plane arp updates for DVR" 2021-03-09 13:08:28 +00:00
tests Mark NetcatTesterTestCase tests as unstable 2020-02-14 14:08:52 +00:00
__init__.py tests: removed 'retargetable' framework 2017-05-02 16:45:49 +00:00
base.py [ovn] metadata functional tests don't support Chassis_Private 2021-09-23 17:33:20 +00:00
constants.py TrunkManager for the OVS agent 2016-08-24 02:52:17 -04:00
requirements.txt [ussuri] Fix tests with new pip resolver 2020-12-16 09:53:09 +01:00
test_server.py Wait until workers have been launched 2021-11-18 08:51:43 +00:00
test_service.py Modify api and rpc default number of workers 2019-02-19 13:24:01 -07:00