mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] kselftest/alsa: Increase kselftest timeout
@ 2022-12-14 13:03 Nícolas F. R. A. Prado
  2022-12-14 16:40 ` Shuah Khan
  0 siblings, 1 reply; 4+ messages in thread
From: Nícolas F. R. A. Prado @ 2022-12-14 13:03 UTC (permalink / raw)
  To: Mark Brown
  Cc: kernel, Nícolas F. R. A. Prado, Jaroslav Kysela, Shuah Khan,
	Takashi Iwai, alsa-devel, linux-kernel, linux-kselftest

The default timeout for kselftests is 45 seconds, but that isn't enough
time to run pcm-test when there are many PCMs on the device, nor for
mixer-test when slower control buses and fancier CODECs are present.

As data points, running pcm-test on mt8192-asurada-spherion takes about
1m15s, and mixer-test on rk3399-gru-kevin takes about 2m.

Set the timeout to 4 minutes to allow both pcm-test and mixer-test to
run to completion with some slack.

Reviewed-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>

---

Changes in v2:
- Reduced timeout from 10 to 4 minutes
- Tweaked commit message to also mention mixer-test and run time for
  mixer-test on rk3399-gru-kevin

 tools/testing/selftests/alsa/settings | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 tools/testing/selftests/alsa/settings

diff --git a/tools/testing/selftests/alsa/settings b/tools/testing/selftests/alsa/settings
new file mode 100644
index 000000000000..b478e684846a
--- /dev/null
+++ b/tools/testing/selftests/alsa/settings
@@ -0,0 +1 @@
+timeout=240
-- 
2.39.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-04-03 21:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-14 13:03 [PATCH v2] kselftest/alsa: Increase kselftest timeout Nícolas F. R. A. Prado
2022-12-14 16:40 ` Shuah Khan
2022-12-14 18:15   ` Mark Brown
2023-04-03 21:30     ` Nícolas F. R. A. Prado

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®