From d1b2756e6a5b7b9e1c47861f230ec9effe6ca382 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 20 May 2010 03:27:06 -0700 Subject: tests: t0004: disable upper limit check since we've already waited for time to elapse, there's no point in watching the upper limit here --- t/t0004-heartbeat-timeout.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 't') diff --git a/t/t0004-heartbeat-timeout.sh b/t/t0004-heartbeat-timeout.sh index 4aa8fd7..faabd1f 100755 --- a/t/t0004-heartbeat-timeout.sh +++ b/t/t0004-heartbeat-timeout.sh @@ -31,9 +31,8 @@ t_begin "block the worker process to force it to die" && { test x"$err" != x"$worker_pid" } -t_begin "ensure timeout took 3-6 seconds" && { +t_begin "ensure timeout took at least 3 seconds" && { test $elapsed -ge 3 - test $elapsed -le 6 # give it some slack in case box is bogged down } t_begin "wait for new worker to start up" && { -- cgit v1.2.3-24-ge0c7