Skip to content

Commit

Permalink
multinode-tests: Cleanup before starting migration test.
Browse files Browse the repository at this point in the history
Fixes: 00e4f78 ("controller: Support migration of container ports.")
Signed-off-by: Xavier Simonart <xsimonar@redhat.com>
Signed-off-by: Numan Siddique <numans@ovn.org>
  • Loading branch information
simonartxavier authored and numansiddique committed Mar 3, 2025
1 parent 3490051 commit 0f324ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/multinode.at
Original file line number Diff line number Diff line change
Expand Up @@ -2794,6 +2794,10 @@ check_fake_multinode_setup_by_nodes 'ovn-chassis-1 ovn-chassis-2 ovn-chassis-3'
# Delete the multinode NB and OVS resources before starting the test.
cleanup_multinode_resources_by_nodes 'ovn-chassis-1 ovn-chassis-2 ovn-chassis-3'

m_as ovn-chassis-1 ip link del migrator-p
m_as ovn-chassis-2 ip link del sw0p2-p
m_as ovn-chassis-3 ip link del migrator-p

OVS_WAIT_UNTIL([m_as ovn-chassis-1 ip link show | grep -q genev_sys])
OVS_WAIT_UNTIL([m_as ovn-chassis-2 ip link show | grep -q genev_sys])
OVS_WAIT_UNTIL([m_as ovn-chassis-3 ip link show | grep -q genev_sys])
Expand Down

0 comments on commit 0f324ce

Please sign in to comment.