selftests: netdevsim: Increase sleep time in hw_stats_l3.sh test
authorDanielle Ratson <danieller@nvidia.com>
Wed, 18 May 2022 07:27:26 +0000 (10:27 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 May 2022 13:06:50 +0000 (14:06 +0100)
commit7ba106fcd4b441c5d6e3d1219104e022ca470d00
tree0c11dbb4146ff416e2cf8eaa0fc1a7c7026ecb01
parent32329216ca1d6ee29c41215f18b3053bb6158541
selftests: netdevsim: Increase sleep time in hw_stats_l3.sh test

hw_stats_l3.sh test is failing often for l3 stats shows less than 20
packets after 2 seconds sleep.

This is happening since there is a race between the 2 seconds sleep and
the netdevsim actually delivering the packets.

Increase the sleep time so the packets will be delivered successfully on
time.

Signed-off-by: Danielle Ratson <danieller@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/netdevsim/hw_stats_l3.sh