tests: drivers: spi: wait more when polling

Extend timeout to perform coverage analysis when testing on HW.
Coverage mode makes execution slower.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
This commit is contained in:
Piotr Kosycarz 2024-02-05 16:46:27 +01:00 committed by Henrik Brix Andersen
parent 4f6fe99cdf
commit c8716f2793

View file

@ -542,7 +542,7 @@ static void spi_async_call_cb(void *p1,
LOG_DBG("Polling...");
while (1) {
ret = k_poll(evt, 1, K_MSEC(200));
ret = k_poll(evt, 1, K_MSEC(2000));
zassert_false(ret, "one or more events are not ready");
result = evt->signal->result;