From: Vincent Bernat Date: Thu, 4 Feb 2016 19:19:32 +0000 (+0100) Subject: tests: speed up integration tests by sleeping less X-Git-Tag: 0.9.1~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=03fc915d8f964c4ec78eece0c2caed0715be115e;p=thirdparty%2Flldpd.git tests: speed up integration tests by sleeping less --- diff --git a/tests/integration-tests.in b/tests/integration-tests.in index 04582e84..6838ef02 100755 --- a/tests/integration-tests.in +++ b/tests/integration-tests.in @@ -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