It is a known limitation in OVN that, in I-P, removing last port on a
datapath does not make the datapath to become non-local.
This test usually recomputes, so that ls1 usually becomes
non-local, and public1 not a related port.
But we might have sometimes different race conditions, so there might
be no recomputes, and datapath remains local.

Fixes: 9f052bdb2b96 ("tests: Compare I+P flows with with recompute ones.")
Signed-off-by: Xavier Simonart <[email protected]>
---
 tests/ovn.at | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/ovn.at b/tests/ovn.at
index 6af7da8c4..446ee7dc7 100644
--- a/tests/ovn.at
+++ b/tests/ovn.at
@@ -39721,7 +39721,10 @@ wake_up_controller hv-1
 # Make sure ovn-controller is still OK
 check ovn-nbctl --wait=hv sync
 OVS_WAIT_UNTIL([test $(as hv-1 ovs-vsctl list qos | grep -c linux-htb) -eq 1])
-OVN_CLEANUP([hv-1],[hv-2])
+OVN_CLEANUP([hv-1
+public1
+ignored_dp=ls1
+],[hv-2])
 AT_CLEANUP
 ])
 
-- 
2.47.1

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to