From f3269b9d9ed62b87fb3cfa327c088699ae1ebb8b Mon Sep 17 00:00:00 2001 From: Xavier Simonart Date: Tue, 10 Dec 2024 09:21:20 -0500 Subject: [PATCH] tests: Fix flaky "ovn-controller-vtep - chassis". test was not waiting properly as not checking for the proper vtep_logical_switches to be deleted. Signed-off-by: Xavier Simonart Signed-off-by: 0-day Robot --- 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 ea67c2a5c9..1e06ce54e5 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 [[]] ])