diff options
author | Paolo Abeni <pabeni@redhat.com> | 2024-02-12 12:43:31 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-02-13 21:10:44 +0300 |
commit | a7ee79b9c4553498c78552d12321d85b645f02ca (patch) | |
tree | df406595a8399d363d9e85ff1172ba73601335d9 /net/switchdev/switchdev.c | |
parent | e58779f47e5eeb4fc9e3707951b81fbe31de5e3b (diff) | |
download | linux-a7ee79b9c4553498c78552d12321d85b645f02ca.tar.xz |
selftests: net: cope with slow env in so_txtime.sh test
The mentioned test is failing in slow environments:
# SO_TXTIME ipv4 clock monotonic
# ./so_txtime: recv: timeout: Resource temporarily unavailable
not ok 1 selftests: net: so_txtime.sh # exit=1
Tuning the tolerance in the test binary is error-prone and doomed
to failures is slow-enough environment.
Just resort to suppress any error in such cases. Note to suppress
them we need first to refactor a bit the code moving it to explicit
error handling.
Fixes: af5136f95045 ("selftests/net: SO_TXTIME with ETF and FQ")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Link: https://lore.kernel.org/r/2142d9ed4b5c5aa07dd1b455779625d91b175373.1707730902.git.pabeni@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions