diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-05-20 03:27:06 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-05-20 03:27:06 -0700 |
commit | d1b2756e6a5b7b9e1c47861f230ec9effe6ca382 (patch) | |
tree | ce118a87dc3e23c0605bcc58b081c6819e93d4e4 | |
parent | 94307f744608ad6fd4f8d0ab57d23cf405917b15 (diff) | |
download | rainbows-d1b2756e6a5b7b9e1c47861f230ec9effe6ca382.tar.gz |
since we've already waited for time to elapse, there's no point in watching the upper limit here
-rwxr-xr-x | t/t0004-heartbeat-timeout.sh | 3 |
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" && { |