From 6c8b2bbb83b830e88c4c41cf39eb8115cd91b7b8 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Sun, 10 Dec 2023 18:35:14 +0000 Subject: [PATCH] add retries to wlan test --- tests/wlan/wait-for-wlan.expect | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/wlan/wait-for-wlan.expect b/tests/wlan/wait-for-wlan.expect index 070d765..7c74c09 100644 --- a/tests/wlan/wait-for-wlan.expect +++ b/tests/wlan/wait-for-wlan.expect @@ -7,8 +7,8 @@ set FINISHED 0 set EXIT "1" send "ls -l /run/uncaught-logs/current\r\n" expect "#" -while { $FINISHED < 10 } { - send "grep AP-ENABLED /run/uncaught-logs/current || echo not\r\n" +while { $FINISHED < 20 } { + send "date && grep AP-ENABLED /run/uncaught-logs/current || echo not\r\n" expect { "wlan0: AP-ENABLED" { set FINISHED 10; set EXIT 0; }