diff options
author | Pedro Tammela <[email protected]> | 2023-11-17 14:12:07 -0300 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-11-20 18:06:36 -0800 |
commit | 4b480cfb1066a8394017697ff4a58a970641e9b7 (patch) | |
tree | dda0910f74fb357aeb47153bc166e09e1f138abf /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 3f2d94a4ff489ebbc6b66cc33f9775cb33c00533 (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