[ovs-dev] [PATCH] ovn.at: fix occasional dns lookup test failure

Han Zhou zhouhan at gmail.com
Mon Apr 30 17:04:54 UTC 2018

The option "--wait=hv" was missed when adding back the DNS options
for ls1-lp1 using ovn-nbctl, so the test case failed occasionally.
This commit fix the same.

Signed-off-by: Han Zhou <hzhou8 at ebay.com>
 tests/ovn.at | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/ovn.at b/tests/ovn.at
index 4a53165..3cc135d 100644
--- a/tests/ovn.at
+++ b/tests/ovn.at
@@ -7064,7 +7064,7 @@ rm -f 2.expected
 # Test IPv6 (AAAA records) using IPv4 packet.
 # Add back the DNS options for ls1-lp1.
-ovn-nbctl set DNS $DNS1 records:vm1.ovn.org=" aef0::4"
+ovn-nbctl --wait=hv set DNS $DNS1 records:vm1.ovn.org=" aef0::4"
 set_dns_params vm1_ipv6_only
 src_ip=`ip_to_hex 10 0 0 6`

More information about the dev mailing list