tests: Do not dump pending monitor events after connection
connect_network() tried to make test log more readable with a dump_monitor() call at the end of the function. However, this could end up practically dropping an event that arrives more or less immediately after CTRL-EVENT-CONNECTED. This could happen with UML time travel, e.g., in suite_b_192_pmksa_caching_roam. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
7fbd391138
commit
69be335a5d
1 changed files with 0 additions and 1 deletions
|
@ -504,7 +504,6 @@ class WpaSupplicant:
|
||||||
self.dump_monitor()
|
self.dump_monitor()
|
||||||
self.select_network(id)
|
self.select_network(id)
|
||||||
self.wait_connected(timeout=timeout)
|
self.wait_connected(timeout=timeout)
|
||||||
self.dump_monitor()
|
|
||||||
|
|
||||||
def get_status(self, extra=None):
|
def get_status(self, extra=None):
|
||||||
if extra:
|
if extra:
|
||||||
|
|
Loading…
Reference in a new issue