Parcourir la source

tests: Sleep even longer before starting valgrind tests

It looks like some virtual host setups are too slow to get
wpa_supplicant initialized under valgrind and this was triggering test
failures. Work around this by using even a longer wait before test case
execution.

Signed-hostap: Jouni Malinen <j@w1.fi>
Jouni Malinen il y a 11 ans
Parent
commit
f84692764a
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      tests/hwsim/start-p2p-concurrent.sh
  2. 1 1
      tests/hwsim/start.sh

+ 1 - 1
tests/hwsim/start-p2p-concurrent.sh

@@ -36,5 +36,5 @@ sleep 1
 sudo chown $USER $DIR/logs/$DATE-hwsim0.dump
 if [ "x$VALGRIND" = "xy" ]; then
     sudo chown $USER $DIR/logs/$DATE-valgrind*
-    sleep 2
+    sleep 10
 fi

+ 1 - 1
tests/hwsim/start.sh

@@ -35,5 +35,5 @@ sleep 1
 sudo chown $USER $DIR/logs/$DATE-hwsim0.dump
 if [ "x$VALGRIND" = "xy" ]; then
     sudo chown $USER $DIR/logs/$DATE-*valgrind*
-    sleep 2
+    sleep 10
 fi