diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2021-10-21 17:39:06 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2021-10-21 17:54:03 +0200 |
commit | e934da3c8199e96624bc22abdcca71e953cf27f7 (patch) | |
tree | 9e5c092470d44af6b9f7d6dd05042947b2e08f4f | |
parent | a2b86c5f9002ef3f7165f84a51c8dab4f574af29 (diff) | |
download | passt-e934da3c8199e96624bc22abdcca71e953cf27f7.tar passt-e934da3c8199e96624bc22abdcca71e953cf27f7.tar.gz passt-e934da3c8199e96624bc22abdcca71e953cf27f7.tar.bz2 passt-e934da3c8199e96624bc22abdcca71e953cf27f7.tar.lz passt-e934da3c8199e96624bc22abdcca71e953cf27f7.tar.xz passt-e934da3c8199e96624bc22abdcca71e953cf27f7.tar.zst passt-e934da3c8199e96624bc22abdcca71e953cf27f7.zip |
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 <sbrivio@redhat.com>
-rw-r--r-- | test/two_guests/basic | 1 |
1 files changed, 1 insertions, 0 deletions
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' |