WSL2-Linux-Kernel/tools
Thadeu Lima de Souza Cascardo af548a27b1 selftests: fib_tests: sleep after changing carrier. again.
Just like commit e2ba732a16 ("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>
2019-02-23 18:34:20 -08:00
..
accounting
arch
bpf
build
cgroup
crypto
firewire
firmware
gpio
hv
iio
include tools uapi: fix Alpha support 2019-02-10 19:16:24 -08:00
kvm/kvm_stat
laptop
leds
lib
memory-model
nfsd
objtool
pci
pcmcia
perf perf script python: Add Python3 support to tests/attr.py 2019-02-05 10:31:08 -03:00
power
scripts
spi
testing selftests: fib_tests: sleep after changing carrier. again. 2019-02-23 18:34:20 -08:00
thermal/tmon
time
usb
virtio
vm
wmi
Makefile