test was not waiting properly as not checking for the proper
vtep_logical_switches to be deleted.

Signed-off-by: Xavier Simonart <xsimo...@redhat.com>
---
 tests/ovn-controller-vtep.at | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/ovn-controller-vtep.at b/tests/ovn-controller-vtep.at
index ea67c2a5c..1e06ce54e 100644
--- a/tests/ovn-controller-vtep.at
+++ b/tests/ovn-controller-vtep.at
@@ -149,14 +149,14 @@ AT_CHECK([ovn-sbctl --columns=vtep_logical_switches list 
Chassis | cut -d ':' -f
 
 # unbinds all ports from lswitch0.
 AT_CHECK([vtep-ctl unbind-ls br-vtep p0 100 -- unbind-ls br-vtep p1 300])
-OVS_WAIT_UNTIL([test -z "`ovn-sbctl list Chassis | grep -- br-vtep_lswitch0`"])
+OVS_WAIT_UNTIL([test -z "`ovn-sbctl list Chassis | grep -- lswitch0`"])
 AT_CHECK([ovn-sbctl --columns=vtep_logical_switches list Chassis | cut -d ':' 
-f2 | tr -d ' ' ], [0], [dnl
 [[lswitch1]]
 ])
 
 # unbinds all ports from lswitch1.
 AT_CHECK([vtep-ctl unbind-ls br-vtep p0 300])
-OVS_WAIT_UNTIL([test -z "`ovn-sbctl list Chassis | grep -- br-vtep_lswitch1`"])
+OVS_WAIT_UNTIL([test -z "`ovn-sbctl list Chassis | grep -- lswitch1`"])
 AT_CHECK([ovn-sbctl --columns=vtep_logical_switches list Chassis | cut -d ':' 
-f2 | tr -d ' '], [0], [dnl
 [[]]
 ])
-- 
2.47.1

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

Reply via email to