]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
kunit: Make default kunit_test timeout configurable via both a module parameter and...
authorMarie Zhussupova <marievic@google.com>
Thu, 26 Jun 2025 17:17:29 +0000 (17:17 +0000)
committerShuah Khan <skhan@linuxfoundation.org>
Fri, 27 Jun 2025 21:00:05 +0000 (15:00 -0600)
commit5ac244b9cc8f49c945c5be67ed7d6f8ac6ed9321
tree191af2732158b1635f45e4f9ad28c80192a05ebb
parent63d0a9123120a2e10861ac7f6dc474bee653d3b2
kunit: Make default kunit_test timeout configurable via both a module parameter and a Kconfig option

To accommodate varying hardware performance and use cases,
the default kunit test case timeout (currently 300 seconds)
is now configurable. Users can adjust the timeout by
either setting the 'timeout' module parameter or the
KUNIT_DEFAULT_TIMEOUT Kconfig option to their desired
timeout in seconds.

Link: https://lore.kernel.org/r/20250626171730.1765004-1-marievic@google.com
Signed-off-by: Marie Zhussupova <marievic@google.com>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
lib/kunit/Kconfig
lib/kunit/test.c