]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
tests: speed up integration tests by sleeping less
authorVincent Bernat <vincent@bernat.im>
Thu, 4 Feb 2016 19:19:32 +0000 (20:19 +0100)
committerVincent Bernat <vincent@bernat.im>
Thu, 4 Feb 2016 19:26:18 +0000 (20:26 +0100)
tests/integration-tests.in

index 04582e8426332190efbefa53ef471f613868b2af..6838ef02a060cfe34bdfcd59a37fa4d291a3e5f6 100755 (executable)
@@ -247,9 +247,9 @@ run() {
     printf "%s\n" "$*" > $TMP/${r}.command
     n=0
     while [ -f $TMP/${r}.command ]; do
-        sleep 1
+        sleep 0.1
         n=$((n + 1))
-        [ $n -le 15 ] || {
+        [ $n -le 150 ] || {
             log_error_msg "Timeout while executing command on $r"
         }
     done