![]() 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
|
||
---|---|---|
.. | ||
agents | ||
resources | ||
schedulers | ||
servers | ||
README | ||
__init__.py | ||
base.py | ||
test_agent_bandwidth_report.py | ||
test_connectivity.py | ||
test_dhcp_agent.py | ||
test_firewall.py | ||
test_l3_agent.py | ||
test_local_ip.py | ||
test_logging.py | ||
test_mtu.py | ||
test_multisegs.py | ||
test_ovs_dhcp_extension.py | ||
test_port_shut_down.py | ||
test_ports_api.py | ||
test_ports_binding.py | ||
test_ports_rebind.py | ||
test_qos.py | ||
test_quota.py | ||
test_securitygroup.py | ||
test_segmentation_id.py | ||
test_subnet.py | ||
test_trunk.py |
README
Please see neutron/TESTING.rst.