Android: reduce timeout for serialNumberRecipe()

No need to wait that much for the serial number
if the emulator is being started, the serial number
should be available shortly after the emulator command.

Change-Id: Ib697d10bce16bde9ee58ef6d340f959ce62df2d9
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
Assam Boudjelthia
2024-11-01 13:21:04 +02:00
parent c1804b5aaa
commit b7500a7d94

View File

@@ -188,7 +188,7 @@ static ExecutableItem waitForAvdRecipe(const QString &avdName, const Storage<QSt
stopOnSuccess,
serialNumberRecipe(avdName, serialNumberStorage),
TimeoutTask([](std::chrono::milliseconds &timeout) { timeout = 100ms; }, DoneResult::Error)
}.withTimeout(120s),
}.withTimeout(30s),
Forever {
stopStorage,
stopOnSuccess,