aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorPedro Tammela <[email protected]>2023-11-17 14:12:07 -0300
committerJakub Kicinski <[email protected]>2023-11-20 18:06:36 -0800
commit4b480cfb1066a8394017697ff4a58a970641e9b7 (patch)
treedda0910f74fb357aeb47153bc166e09e1f138abf /tools/testing/selftests/bpf/progs/test_autoload.c
parent3f2d94a4ff489ebbc6b66cc33f9775cb33c00533 (diff)
selftests: tc-testing: timeout on unbounded loops
In the spirit of failing early, timeout on unbounded loops that take longer than 20 ticks to complete. Such loops are to ensure that objects created are already visible so tests can proceed without any issues. If a test setup takes more than 20 ticks to see an object, there's definetely something wrong. Signed-off-by: Pedro Tammela <[email protected]> Reviewed-by: Simon Horman <[email protected]> Acked-by: Jamal Hadi Salim <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions