diff options
author | 2023-05-10 13:38:30 +0800 | |
---|---|---|
committer | 2023-05-11 18:17:29 -0600 | |
commit | 410f07492eaef600fe817eef9fd272f6692a451a (patch) | |
tree | 8a73fa665ae423cfdfcde07611d32c539baf52ae /tools/perf/scripts/python/export-to-postgresql.py | |
parent | kunit: Always run cleanup from a test kthread (diff) | |
download | wireguard-linux-410f07492eaef600fe817eef9fd272f6692a451a.tar.xz wireguard-linux-410f07492eaef600fe817eef9fd272f6692a451a.zip |
Documentation: kunit: Note that assertions should not be used in cleanup
As assertions abort the test cleanup process, they should be avoided
from within a suite's exit function, or from within resource 'free'
functions. Unlike with initialisation or main test execution, no further
cleanup will be performed after a failed assertion, potentially causing
a leak of resources.
Reviewed-by: Sadiya Kazi <sadiyakazi@google.com>
Signed-off-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions