@@ -7932,6 +7932,8 @@ ls2_p1_ip=172.16.1.2
ls3_p1_mac=00:00:00:01:02:05
+wait_for_ports_up
+
# Create a drop policy
check ovn-nbctl --wait=hv lr-policy-add R1 10 "ip4.src==192.168.1.0/24 && ip4.dst==172.16.1.0/24" drop
@@ -8102,6 +8104,8 @@ ls2_p1_ip=2002::2
ls3_p1_mac=00:00:00:01:02:05
+wait_for_ports_up
+
# Create a drop policy
check ovn-nbctl --wait=sb lr-policy-add R1 10 "ip6.src==2001::/64 && ip6.dst==2002::/64" drop
@@ -27191,6 +27195,8 @@ for i in $(seq 1 4); do
ofport-request=${i}
done
+wait_for_ports_up
+
# wait for earlier changes to take effect
AT_CHECK([ovn-nbctl --timeout=3 --wait=hv sync], [0], [ignore])
Following tests were randomly failing as injecting packets too early i.e. before proper flows were installed (ports not up). - policy-based routing: 1 HVs, 2 LSs, 1 lport/LS, 1 LR - policy-based routing IPv6: 1 HVs, 3 LSs, 1 lport/LS, 1 LR - route tables IPv6 -- overlapping subnets Signed-off-by: Xavier Simonart <xsimonar@redhat.com> --- tests/ovn.at | 6 ++++++ 1 file changed, 6 insertions(+)