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 <j@w1.fi>
This commit is contained in:
Jouni Malinen 2019-05-27 23:00:20 +03:00
parent 298eb0792e
commit 1df79115aa

View file

@ -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: