From 03fc915d8f964c4ec78eece0c2caed0715be115e Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Thu, 4 Feb 2016 20:19:32 +0100 Subject: [PATCH] tests: speed up integration tests by sleeping less --- tests/integration-tests.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5