[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190223.183435.22949869818395441.davem@davemloft.net>
Date: Sat, 23 Feb 2019 18:34:35 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: cascardo@...onical.com
Cc: netdev@...r.kernel.org, linux-kselftest@...r.kernel.org,
dsahern@...il.com
Subject: Re: [PATCH] selftests: fib_tests: sleep after changing carrier.
again.
From: Thadeu Lima de Souza Cascardo <cascardo@...onical.com>
Date: Fri, 22 Feb 2019 07:27:41 -0300
> 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@...il.com>
> Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@...onical.com>
Applied, thanks.
Powered by blists - more mailing lists