[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5232b863-4c1a-44bf-b55c-920031d264d7@gmail.com>
Date: Tue, 5 Mar 2024 09:08:29 -0800
From: Kui-Feng Lee <sinquersw@...il.com>
To: David Ahern <dsahern@...nel.org>, Kui-Feng Lee <thinker.li@...il.com>,
netdev@...r.kernel.org, ast@...nel.org, martin.lau@...ux.dev,
kernel-team@...a.com, kuba@...nel.org, davem@...emloft.net, pabeni@...hat.com
Cc: kuifeng@...a.com
Subject: Re: [PATCH net-next v2] selftests/net: fix waiting time for ipv6_gc
test in fib_tests.sh.
On 3/5/24 07:38, David Ahern wrote:
> On 3/4/24 6:37 PM, Kui-Feng Lee wrote:
>> diff --git a/tools/testing/selftests/net/fib_tests.sh b/tools/testing/selftests/net/fib_tests.sh
>> index 3ec1050e47a2..52c5c8730879 100755
>> --- a/tools/testing/selftests/net/fib_tests.sh
>> +++ b/tools/testing/selftests/net/fib_tests.sh
>> @@ -805,7 +805,7 @@ fib6_gc_test()
>> $IP -6 route add 2001:20::$i \
>> via 2001:10::2 dev dummy_10 expires $EXPIRE
>> done
>> - sleep $(($EXPIRE * 2 + 1))
>> + sleep $(($EXPIRE * 2 + 2))
>
> define a local variable with the sleep timeout so future updates only
> have to update 1 place.
>
>
Sure!
Powered by blists - more mailing lists