neutron/neutron/tests/fullstack
Slawek Kaplonski a28ec9ed3c [Fullstack] Double check that agent is dead when it should be dead
In some fullstack tests it is expected that agent is DOWN in the Neutron
DB. It could happen sometimes that in almost the same time test's client
was doing GET /v2.0/agents/{agent_id} call and got result with
"alive=False" and in other thread rpc worker was processing heartbeat
from the agent so it was revived just after API request was finished.
That was causing test failures in some cases.
This patch adds second API call to get agent again after 2 seconds if it
was already marked as DEAD, just to make sure that it is really dead ;)

Closes-Bug: #2045757
Change-Id: I1c20c90b8abd760f3a53b24024f19ef2bd189b5a
(cherry picked from commit 58dcd30dbb)
2023-12-07 07:47:16 +00:00
..
agents dhcp: support multiple segmentations per network 2022-10-27 09:30:33 +02:00
resources Fullstack: Wait placement process fixtrue to really stop 2023-01-25 14:00:49 +01:00
schedulers HA race condition test for DHCP scheduling 2019-11-18 14:09:32 +01:00
servers Don't register config options on imports 2022-04-13 05:49:15 +00:00
README Moved fullstack test doc content to TESTING.rst 2015-12-03 17:02:54 -05:00
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py [Fullstack] Double check that agent is dead when it should be dead 2023-12-07 07:47:16 +00:00
test_agent_bandwidth_report.py [Fullstack] Drop all linuxbridge scenarios from fullstack tests 2023-11-11 17:45:20 +00:00
test_connectivity.py [Fullstack] Drop all linuxbridge scenarios from fullstack tests 2023-11-11 17:45:20 +00:00
test_dhcp_agent.py [Fullstack] Drop all linuxbridge scenarios from fullstack tests 2023-11-11 17:45:20 +00:00
test_firewall.py Drop of_interface option 2019-05-24 10:33:48 +02:00
test_l3_agent.py Switch fullstack/functional fips jobs to 9-stream 2023-09-13 16:19:17 +00:00
test_local_ip.py Switch fullstack/functional fips jobs to 9-stream 2023-09-13 16:19:17 +00:00
test_logging.py Use ovs constants from neutron-lib 2022-06-17 10:36:44 +05:30
test_mtu.py Check mtu on network update 2019-12-16 15:04:47 +00:00
test_multisegs.py Mark fullstack TestMultiSegs.test_multi_segs_network as unstable 2023-02-23 08:10:12 +01:00
test_ovs_dhcp_extension.py [Fullstack] Remove dhcp agent in tests where it isn't necessary 2022-03-23 16:52:48 +01:00
test_port_shut_down.py [Fullstack] Drop all linuxbridge scenarios from fullstack tests 2023-11-11 17:45:20 +00:00
test_ports_api.py Rehome api tests for propagate_uplink_status 2020-10-13 10:57:57 +00:00
test_ports_binding.py [Follow Up] Add Smart NIC representor port to integration bridge 2019-06-24 06:58:18 +00:00
test_ports_rebind.py [Fullstack] Drop all linuxbridge scenarios from fullstack tests 2023-11-11 17:45:20 +00:00
test_qos.py [Fullstack] Drop all linuxbridge scenarios from fullstack tests 2023-11-11 17:45:20 +00:00
test_quota.py [quota] Enable ``DbQuotaDriverNull`` as a production driver 2022-04-05 10:10:46 +00:00
test_securitygroup.py [Fullstack] Drop all linuxbridge scenarios from fullstack tests 2023-11-11 17:45:20 +00:00
test_segmentation_id.py [Fullstack] Drop all linuxbridge scenarios from fullstack tests 2023-11-11 17:45:20 +00:00
test_subnet.py Ensure gateway is set for prefix delegated subnets 2022-03-03 11:10:54 +05:30
test_trunk.py Avoid race condition when deleting trunk bridges 2022-11-17 10:39:30 +01:00

README

Please see neutron/TESTING.rst.