diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-07-27 07:11:04 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-07-27 07:11:04 +0000 |
commit | 3671e9b9643543510337d9c1724122ecd78780cd (patch) | |
tree | 353bf6882af0d27d2c315f64d0e54be4f2b74e45 | |
parent | e82fbfc8b67ac61d712dc9e764d8c7767ab2664b (diff) | |
download | rainbows-3671e9b9643543510337d9c1724122ecd78780cd.tar.gz |
They were taking long enough to be annoying :<
-rwxr-xr-x | t/t0020-large-sendfile-response.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t0020-large-sendfile-response.sh b/t/t0020-large-sendfile-response.sh index df9ab23..18b0bf5 100755 --- a/t/t0020-large-sendfile-response.sh +++ b/t/t0020-large-sendfile-response.sh @@ -46,7 +46,7 @@ t_begin "send a batch of abortive HTTP/1.1 requests in parallel" && { do rm -f $i ( - curl -sSf --max-time 5 --limit-rate 1K \ + curl -sSf --max-time 2 --limit-rate 1K \ http://$listen/random_blob >/dev/null || echo ok > $i ) & done @@ -77,11 +77,11 @@ t_begin "check proc to ensure file is closed properly (Linux only)" && { t_begin "send a bunch of HTTP/1.1 requests in parallel" && { ( - curl -sSf --limit-rate 1M http://$listen/random_blob | \ + curl -sSf --limit-rate 5M http://$listen/random_blob | \ rsha1 > $slow_a ) & ( - curl -sSf --limit-rate 750K http://$listen/random_blob | \ + curl -sSf --limit-rate 6M http://$listen/random_blob | \ rsha1 > $slow_b ) & for i in $a $b $c |