]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Wait longer in sigma_dut_ap_dpp_relay before timing out
authorJouni Malinen <quic_jouni@quicinc.com>
Thu, 14 Dec 2023 09:09:53 +0000 (11:09 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 14 Dec 2023 09:09:53 +0000 (11:09 +0200)
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 <quic_jouni@quicinc.com>
tests/hwsim/test_sigma_dut.py

index 00e5856551f1343427d10bd32f812a9c915bd8ee..13a29ce3d74487d77e40d2119b6914630ecd8103 100644 (file)
@@ -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")