]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Make wnm_bss_tm_req_with_mbo_ie more robust
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Mon, 12 Jun 2017 06:29:28 +0000 (09:29 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 18 Jul 2017 10:29:07 +0000 (13:29 +0300)
commit9a6e2a5edee277f260ce2287c93d497665f556a6
treee97469a462003eb471e3006aed3ca6b6149d4004
parentb5bf84ba39e11de607ef9b9242b2fb7cae3b77d5
tests: Make wnm_bss_tm_req_with_mbo_ie more robust

On slow machines or inside VM it may take some time for "DISCONNECTED"
event to arrive. Since the retry delay counter is started already, it
may result in less than 5 seconds time between "DISCONNECTED" and
"CONNECTED" events.

Fix the test by taking more accurate timestamps between the events.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
tests/hwsim/test_wnm.py