commit df2c7baa23b814ccd118fb69d16427b2bf59cecc
Author: Terry Wilson <email address hidden>
Date: Tue Oct 13 15:52:06 2020 +0000
Make test_agent_show only look for its own agents
Since plugin agents are a global resource, relying just on the
'type' field for test_agent_show may end up finding an agent that
we don't know about, and that agent could be deleted by another
test. This reworks test_agent_show to sepecifically look for its
own OVN controller agent and test agent.
This also adds the 'id' field to the returned agent_status from
create_or_update_agent() to make it possible to look for the agent
that was just created.
Reviewed: https:/ /review. opendev. org/757903 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=df2c7baa23b 814ccd118fb69d1 6427b2bf59cecc
Committed: https:/
Submitter: Zuul
Branch: master
commit df2c7baa23b814c cd118fb69d16427 b2bf59cecc
Author: Terry Wilson <email address hidden>
Date: Tue Oct 13 15:52:06 2020 +0000
Make test_agent_show only look for its own agents
Since plugin agents are a global resource, relying just on the
'type' field for test_agent_show may end up finding an agent that
we don't know about, and that agent could be deleted by another
test. This reworks test_agent_show to sepecifically look for its
own OVN controller agent and test agent.
This also adds the 'id' field to the returned agent_status from or_update_ agent() to make it possible to look for the agent
create_
that was just created.
Change-Id: Ib840e7c51f7b91 8b5e17ce9deff9c eafacf063cc
Closes-Bug: #1899004