]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Increase timeout in ap_vlan_iface_cleanup_multibss*
authorJouni Malinen <j@w1.fi>
Sun, 29 Jan 2017 12:42:05 +0000 (14:42 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 29 Jan 2017 12:42:05 +0000 (14:42 +0200)
If the kernel is built with CONFIG_DEBUG_KOBJECT_RELEASE=y, the cleanup
steps were taking so long that these test cases could fail.

Fix this by increasing the timeout to avoid reporting failures.

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

index ef7f1fd08e871ee436cb046a1a1f855b25c67782..e3b8eb6c9a9bcb43eff2ce9769089915ac51e9ea 100644 (file)
@@ -466,7 +466,7 @@ def ap_vlan_iface_cleanup_multibss(dev, apdev, cfgfile):
         dev[1].wait_disconnected()
 
         # station removal needs some time
-        for i in range(5):
+        for i in range(15):
             time.sleep(1)
             ifaces = netifaces.interfaces()
             if "brvlan2" not in ifaces: