From: Jouni Malinen Date: Thu, 14 Dec 2023 09:09:53 +0000 (+0200) Subject: tests: Wait longer in sigma_dut_ap_dpp_relay before timing out X-Git-Tag: hostap_2_11~672 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56a944586ad7fee026d6ab3903386aa75c3cc4c2;p=thirdparty%2Fhostap.git tests: Wait longer in sigma_dut_ap_dpp_relay before timing out DPP initiator will try three channels in this sequence and it can take very close to the previously used five second timeout before being able to try on the actual operating channel of the AP. This could result in the test case failing unnecessarily. Increase the timeout to avoid this. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_sigma_dut.py b/tests/hwsim/test_sigma_dut.py index 00e585655..13a29ce3d 100644 --- a/tests/hwsim/test_sigma_dut.py +++ b/tests/hwsim/test_sigma_dut.py @@ -3595,7 +3595,8 @@ def run_sigma_dut_ap_dpp_relay(dev, apdev): res = sigma_dut_cmd_check("dev_exec_action,program,DPP,DPPActionType,GetLocalBootstrap,DPPCryptoIdentifier,P-256,DPPBS,QR") dev[0].dpp_auth_init(uri=uri_c, role="enrollee") - wait_auth_success(dev[1], dev[0], configurator=dev[1], enrollee=dev[0]) + wait_auth_success(dev[1], dev[0], configurator=dev[1], enrollee=dev[0], + timeout=10) sigma_dut_cmd_check("ap_reset_default")