diff options
| author | Kumar Kartikeya Dwivedi <[email protected]> | 2025-04-03 22:08:41 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2025-04-05 05:56:32 +0000 |
| commit | 9bae8f4f21689b96a4b4fc505740dd97b9142c41 (patch) | |
| tree | c5f728222babc0f37d6eb0b111e67225874931c9 /tools/net/ynl/pyynl/cli.py | |
| parent | Merge tag 'v6.15-p3' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert... (diff) | |
| download | kernel-9bae8f4f21689b96a4b4fc505740dd97b9142c41.tar.gz kernel-9bae8f4f21689b96a4b4fc505740dd97b9142c41.zip | |
selftests/bpf: Make res_spin_lock test less verbose
Currently, the res_spin_lock test is too chatty as it constantly prints
the test_run results for each iteration in each thread, so in case
verbose output is requested or things go wrong, it will flood the logs
of CI and other systems with repeated messages that offer no valuable
insight. Reduce this by doing assertions when the condition actually
flips, and proceed to break out and exit the threads. We still assert
to mark the test as failed and print the expected and reported values.
Suggested-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/net/ynl/pyynl/cli.py')
0 files changed, 0 insertions, 0 deletions
