kyua: increase cleanup_timeout to 300s

Test cleanup times out after 60 seconds, causing the test to fail if the
cleanup hasn't finished in time.  This timeout should be configurable,
but it currently is not.

Several tests (e.g. bridge, pf) are now reaching this limit; as a
workaround, increase the timeout to 300 seconds.

Reviewed by:	igoro, kevans, des
Approved by:	des (mentor), kevans (mentor)
Differential Revision:	https://reviews.freebsd.org/D50499
This commit is contained in:
Lexi Winter 2025-06-04 06:35:51 +01:00
parent d9b6b10e5e
commit 0e33211f91

View file

@ -87,11 +87,11 @@ using utils::optional;
///
/// TODO(jmmv): This is here only for testing purposes. Maybe we should expose
/// this setting as part of the user_config.
datetime::delta scheduler::cleanup_timeout(60, 0);
datetime::delta scheduler::cleanup_timeout(300, 0);
/// Timeout for the test case execenv cleanup operation.
datetime::delta scheduler::execenv_cleanup_timeout(60, 0);
datetime::delta scheduler::execenv_cleanup_timeout(300, 0);
/// Timeout for the test case listing operation.