diff options
author | Thadeu Lima de Souza Cascardo <cascardo@canonical.com> | 2019-02-22 07:27:41 -0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-23 18:34:20 -0800 |
commit | af548a27b158d548d41e56255e6eaca1658cc3be (patch) | |
tree | e10d30ee65265f7177c40167c233d01067fbd88a /net/bridge | |
parent | 4593403fa516a5a4cffe6883c5062d60932cbfbe (diff) |
selftests: fib_tests: sleep after changing carrier. again.
Just like commit e2ba732a1681 ("selftests: fib_tests: sleep after
changing carrier"), wait one second to allow linkwatch to propagate the
carrier change to the stack.
There are two sets of carrier tests. The first slept after the carrier
was set to off, and when the second set ran, it was likely that the
linkwatch would be able to run again without much delay, reducing the
likelihood of a race. However, if you run 'fib_tests.sh -t carrier' on a
loop, you will quickly notice the failures.
Sleeping on the second set of tests make the failures go away.
Cc: David Ahern <dsahern@gmail.com>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
0 files changed, 0 insertions, 0 deletions