From e934da3c8199e96624bc22abdcca71e953cf27f7 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Thu, 21 Oct 2021 17:39:06 +0200 Subject: [PATCH] test/two_guests: Let the guests end DAD before starting the DHCPv6 client They'll start DAD as we bring up the interface, and the DHCPv6 client might be unreasonably delayed if we start it too early. Signed-off-by: Stefano Brivio --- test/two_guests/basic | 1 + 1 file changed, 1 insertion(+) diff --git a/test/two_guests/basic b/test/two_guests/basic index 13277d8..c97a836 100644 --- a/test/two_guests/basic +++ b/test/two_guests/basic @@ -32,6 +32,7 @@ check [ "__ADDR1__" = "__HOST_ADDR__" ] check [ "__ADDR2__" = "__HOST_ADDR__" ] test DHCPv6: addresses +sleep 2 # Link is up now: DAD guest1 /sbin/dhclient -6 __IFNAME1__ guest2 /sbin/dhclient -6 __IFNAME1__ g1out ADDR1_6 ip -j -6 ad sh|jq -rM '.[] | select(.ifname == "__IFNAME1__").addr_info[] | select(.prefixlen == 128).local'