about summary refs log tree commit homepage
path: root/t/t0004-heartbeat-timeout.sh
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-05-20 03:27:06 -0700
committerEric Wong <normalperson@yhbt.net>2010-05-20 03:27:06 -0700
commitd1b2756e6a5b7b9e1c47861f230ec9effe6ca382 (patch)
treece118a87dc3e23c0605bcc58b081c6819e93d4e4 /t/t0004-heartbeat-timeout.sh
parent94307f744608ad6fd4f8d0ab57d23cf405917b15 (diff)
downloadrainbows-d1b2756e6a5b7b9e1c47861f230ec9effe6ca382.tar.gz
since we've already waited for time to elapse, there's no
point in watching the upper limit here
Diffstat (limited to 't/t0004-heartbeat-timeout.sh')
-rwxr-xr-xt/t0004-heartbeat-timeout.sh3
1 files changed, 1 insertions, 2 deletions
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" && {