tests: Avoid a race in wpas_ap_lifetime_in_memory*

Disconnect processing might require some more time with wpa_supplicant
AP mode.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
Jouni Malinen 2023-12-14 11:03:45 +02:00 committed by Jouni Malinen
parent c26081bf92
commit 0cd4207b52

View file

@ -1087,6 +1087,7 @@ def run_wpas_ap_lifetime_in_memory(dev, apdev, params, raw):
dev[1].request("DISCONNECT")
dev[1].wait_disconnected()
dev[0].wait_sta_disconnect()
time.sleep(1)
buf2 = read_process_memory(pid, pmk)