tests: Make wpas_ctrl_many_networks more robust under valgrind
authorJouni Malinen <j@w1.fi>
Sat, 7 Feb 2015 20:38:21 +0000 (22:38 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 8 Feb 2015 11:25:35 +0000 (13:25 +0200)
commit874057da4e11cf7a5e54e3360187d9342ea891a4
tree680a0fd648411d55650feadab4af6c465b3f8a58
parentf77d6d4bd816bfb959bd342e2ce0fc1de8428adb
tests: Make wpas_ctrl_many_networks more robust under valgrind

It is possible for a low powered CPU to take excessively long time to
delete 1000 network blocks when running under valgrind. This would have
resulted in the test case failing and the following reset operation
timing out which would then stop the test sequence completely.

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