]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Make dbus_wps_oom more robust
authorJouni Malinen <j@w1.fi>
Sun, 6 Dec 2015 15:10:06 +0000 (17:10 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 6 Dec 2015 15:10:06 +0000 (17:10 +0200)
commit1d32bc2c1c8640226a15d97492aea2c07d25343a
tree83e568d89f554494d2833ed762a3f5ad081666ad
parentbc321e1597d1b89fdce50d4e6d05744aadb5e1bf
tests: Make dbus_wps_oom more robust

It was possible for the BSSs object property change signal to be
generated during the OOM test case for Get(). If that happened, the
signal was not sent out, but the following Get(BSSs) operation succeeded
unexpectedly which resulted in a test failure. Make this less likely to
happen by waiting 50 ms between the scan and Get(BSSs) operation. This
should be sufficient to cover most cases since wpa_supplicant uses 5 ms
timeout for D-Bus property changed updates.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_dbus.py