diff options
author | Hangbin Liu <liuhangbin@gmail.com> | 2024-01-24 14:13:44 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-01-25 17:07:14 -0800 |
commit | fc836129f708407502632107e58d48f54b1caf75 (patch) | |
tree | 7426cd56ff136afd3f038f0ccdb8aed8f4a4f77c /drivers/macintosh | |
parent | 39b383d77961a544d896242051168b8129cf5be7 (diff) |
selftests/net/lib: update busywait timeout value
The busywait timeout value is a millisecond, not a second. So the
current setting 2 is too small. On slow/busy host (or VMs) the
current timeout can expire even on "correct" execution, causing random
failures. Let's copy the WAIT_TIMEOUT from forwarding/lib.sh and set
BUSYWAIT_TIMEOUT here.
Fixes: 25ae948b4478 ("selftests/net: add lib.sh")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240124061344.1864484-1-liuhangbin@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/macintosh')
0 files changed, 0 insertions, 0 deletions