Skip to content

Commit

Permalink
Added a sleep for IPv6 and a comment as to why
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Nov 15, 2021
1 parent a3ccf5c commit 03f4d6a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/tests/test_suites.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,14 @@ netns_setup() {
ip netns exec app ip -6 addr flush eth-app
ip netns exec tool ip -6 a add fd00:0:1:1::2/64 dev eth-tool
ip netns exec app ip -6 a add fd00:0:1:1::3/64 dev eth-app

# TODO(andy314): IPv6 does Duplicate Address Detection even though
# we know these addresses are isolated. For a while IPv6 addresses
# will be in 'transitional' state and cannot be used.
#
# This sleep waits for the addresses to become 'global'. Ideally
# we should loop/wait here instead.
sleep 2
}

netns_cleanup() {
Expand Down

0 comments on commit 03f4d6a

Please sign in to comment.