diff options
| author | Ujwal Jain <[email protected]> | 2025-06-14 08:47:11 +0000 |
|---|---|---|
| committer | Shuah Khan <[email protected]> | 2025-06-25 02:47:39 +0000 |
| commit | 63d0a9123120a2e10861ac7f6dc474bee653d3b2 (patch) | |
| tree | d44d503d9b923977c26298d5508cc09d885d6f5c /lib/crypto/mpi/mpiutil.c | |
| parent | kunit: Add test for static stub (diff) | |
| download | kernel-63d0a9123120a2e10861ac7f6dc474bee653d3b2.tar.gz kernel-63d0a9123120a2e10861ac7f6dc474bee653d3b2.zip | |
kunit: Adjust kunit_test timeout based on test_{suite,case} speed
Currently, the in-kernel kunit test case timeout is 300 seconds. (There
is a separate timeout mechanism for the whole test execution in
kunit.py, but that's unrelated.) However, tests marked 'slow' or 'very
slow' may timeout, particularly on slower machines.
Implement a multiplier to the test-case timeout, so that slower tests
have longer to complete:
- DEFAULT -> 1x default timeout
- KUNIT_SPEED_SLOW -> 3x default timeout
- KUNIT_SPEED_VERY_SLOW -> 12x default timeout
A further change is planned to allow user configuration of the
default/base timeout to allow people with faster or slower machines to
adjust these to their use-cases.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ujwal Jain <[email protected]>
Co-developed-by: David Gow <[email protected]>
Signed-off-by: David Gow <[email protected]>
Reviewed-by: Rae Moar <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
