From a2ef123889ee4e57a32f6e262aa590c10441bacb Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Mon, 22 May 2023 12:37:44 +0200 Subject: [PATCH] examples/suit_update: add delay before getting address of device Without this delay, the logic skips a tentative ("TNT") address, and then times out later trying to talk to `fe80::2`. --- examples/suit_update/tests-with-config/01-run.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/suit_update/tests-with-config/01-run.py b/examples/suit_update/tests-with-config/01-run.py index 6c27b0f326..ed832d77c0 100755 --- a/examples/suit_update/tests-with-config/01-run.py +++ b/examples/suit_update/tests-with-config/01-run.py @@ -94,6 +94,8 @@ def wait_for_update(child): def get_ipv6_addr(child): child.expect_exact(">") + # give the stack some time to make the address non-tentataive + time.sleep(2) child.sendline("ifconfig") if USE_ETHOS == 0: # Get device global address