From: Jouni Malinen Date: Mon, 27 May 2019 20:00:20 +0000 (+0300) Subject: tests: Fix sae_anti_clogging_during_attack with UML time-travel=inf-cpu X-Git-Tag: hostap_2_9~228 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1df79115aaeeef85434a839ed0deba843e491d6f;p=thirdparty%2Fhostap.git 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 --- 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: