[ovs-dev] [PATCH ovn] ovn-ipsec.at: Fix occasional failure of test "unsupported multiple ovn-encap-ip values".
Han Zhou
hzhou at ovn.org
Thu Apr 29 01:03:56 UTC 2021
This test case is very likely to fail with address sanitizer enabled.
This patch fixes the timing problem in the test case.
Signed-off-by: Han Zhou <hzhou at ovn.org>
---
tests/ovn-ipsec.at | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/ovn-ipsec.at b/tests/ovn-ipsec.at
index 887281d5b..8f1cad54c 100644
--- a/tests/ovn-ipsec.at
+++ b/tests/ovn-ipsec.at
@@ -99,6 +99,6 @@ ovs-vsctl \
-- set Open_vSwitch . other_config:private_key=dummy-privkey.pem \
-- set Open_vSwitch . other_config:ca_cert=dummy-cacert.pem
-AT_CHECK([grep "ovn-encap-ip has been configured as a list. This is unsupported for IPsec." hv1/ovn-controller.log],[0], ignore)
+OVS_WAIT_UNTIL([grep "ovn-encap-ip has been configured as a list. This is unsupported for IPsec." hv1/ovn-controller.log])
-AT_CLEANUP
\ No newline at end of file
+AT_CLEANUP
--
2.30.2
More information about the dev
mailing list