From: Xavier Simonart <xsimo...@redhat.com>

Test was not properly deleting ports created by previous tests, which
could cause the test to fail.

Fixes: 8d13579bf5b3 ("Add support for centralize routing for distributed gw 
ports.")

Signed-off-by: Xavier Simonart <xsimo...@redhat.com>
Acked-by: Mark Michelson <mmich...@redhat.com>
Signed-off-by: Mark Michelson <mmich...@redhat.com>
(cherry picked from commit e8554f34ce639a2a96daa0b0746fd0202b755913)
---
 tests/multinode.at | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/multinode.at b/tests/multinode.at
index 9f622e06c0..a1abefcc9a 100644
--- a/tests/multinode.at
+++ b/tests/multinode.at
@@ -1062,6 +1062,10 @@ check_fake_multinode_setup
 # Delete the multinode NB and OVS resources before starting the test.
 cleanup_multinode_resources
 
+m_as ovn-chassis-1 ip link del sw0p1-p
+m_as ovn-chassis-2 ip link del sw0p2-p
+m_as ovn-chassis-2 ip link del sw1p1-p
+
 check multinode_nbctl ls-add sw0
 check multinode_nbctl lsp-add sw0 sw0-port1
 check multinode_nbctl lsp-set-addresses sw0-port1 "50:54:00:00:00:03 10.0.0.3 
1000::3"
-- 
2.49.0

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to