From 1df79115aaeeef85434a839ed0deba843e491d6f Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Mon, 27 May 2019 23:00:20 +0300 Subject: [PATCH] tests: Fix sae_anti_clogging_during_attack with UML time-travel=inf-cpu Need to add short break to allow time-travel=inf-cpu case to allow the connection events to be processed. Signed-off-by: Jouni Malinen --- tests/hwsim/test_sae.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/hwsim/test_sae.py b/tests/hwsim/test_sae.py index 845561fb6..57079df06 100644 --- a/tests/hwsim/test_sae.py +++ b/tests/hwsim/test_sae.py @@ -1638,6 +1638,7 @@ def run_sae_anti_clogging_during_attack(dev, apdev): connected1 = True if connected0 and connected1: break + time.sleep(0.00000001) if not connected0: raise Exception("Real station(0) did not get connected") if not connected1: