Skip to content

Commit 6a88a06

Browse files
author
Jeremy Williams
committed
Test runner fixes
1 parent 3a84be8 commit 6a88a06

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

test/run

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,17 @@ curl -H'User-Agent: test-ua' -H'Foo-Header: foo-bar' http://localhost:8080/heade
3737
echo "\nStress Test keep-alive:"
3838
ab -k -c 200 -n 100000 http://127.0.0.1:8080/ > keep-alive.bench
3939
cat keep-alive.bench | grep Complete
40+
cat large-file.bench | grep Non-2xx
4041
cat keep-alive.bench 1>&2
4142
echo "\nStress Test close:"
4243
ab -c 20 -n 1000 http://127.0.0.1:8080/ > connection-close.bench
4344
cat connection-close.bench | grep Complete
45+
cat large-file.bench | grep Non-2xx
4446
cat connection-close.bench 1>&2
4547
echo "\nStress Test large body:"
46-
dd if=/dev/urandom of=test.dat bs=52428800 count=1 2> /dev/null
48+
dd if=/dev/urandom of=test.dat bs=8388608 count=1 2> /dev/null
4749
ab -c 2 -n 10 -p test.dat http://127.0.0.1:8080/echo > large-file.bench
4850
cat large-file.bench | grep Complete
51+
cat large-file.bench | grep Non-2xx
4952
cat large-file.bench 1>&2
5053
rm *.dat *.bench

0 commit comments

Comments
 (0)