mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-30 22:03:17 +01:00
The firmware tests would always time out for me. Add a correct timeout, including details on how the value was reached. Additionally allow the test harness to skip comments in settings files and report how long a given timeout was. Reviewed-by: SeongJae Park <[email protected]> Acked-by: Scott Branden <[email protected]> Signed-off-by: Kees Cook <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
9 lines
527 B
Plaintext
9 lines
527 B
Plaintext
# The async firmware timeout is set to 1 second (but ends up being effectively
|
|
# 2 seconds). There are 3 test configs, each done with and without firmware
|
|
# present, each with 2 "nowait" functions tested 5 times. Expected time for a
|
|
# normal execution should be 2 * 3 * 2 * 2 * 5 = 120 seconds for those alone.
|
|
# Additionally, fw_fallback may take 5 seconds for internal timeouts in each
|
|
# of the 3 configs, so at least another 15 seconds are needed. Add another
|
|
# 10 seconds for each testing config: 120 + 15 + 30
|
|
timeout=165
|