diff --git a/tests/hwsim/test_wpas_mesh.py b/tests/hwsim/test_wpas_mesh.py index 29855a34f..795e0fe85 100644 --- a/tests/hwsim/test_wpas_mesh.py +++ b/tests/hwsim/test_wpas_mesh.py @@ -897,23 +897,26 @@ def test_wpas_mesh_password_mismatch(dev, apdev): ev = dev[2].wait_event(["MESH-SAE-AUTH-FAILURE"], timeout=20) if ev is None: raise Exception("dev2 did not report auth failure (2)") + dev[2].dump_monitor() count = 0 - ev = dev[0].wait_event(["MESH-SAE-AUTH-FAILURE"], timeout=1) + ev = dev[0].wait_event(["MESH-SAE-AUTH-FAILURE"], timeout=5) if ev is None: logger.info("dev0 did not report auth failure") else: if "addr=" + dev[2].own_addr() not in ev: raise Exception("Unexpected peer address in dev0 event: " + ev) count += 1 + dev[0].dump_monitor() - ev = dev[1].wait_event(["MESH-SAE-AUTH-FAILURE"], timeout=1) + ev = dev[1].wait_event(["MESH-SAE-AUTH-FAILURE"], timeout=5) if ev is None: logger.info("dev1 did not report auth failure") else: if "addr=" + dev[2].own_addr() not in ev: raise Exception("Unexpected peer address in dev1 event: " + ev) count += 1 + dev[1].dump_monitor() hwsim_utils.test_connectivity(dev[0], dev[1])