httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ic...@apache.org
Subject svn commit: r1717970 - /httpd/test/mod_h2/trunk/test/test_window_update.sh
Date Fri, 04 Dec 2015 14:25:53 GMT
Author: icing
Date: Fri Dec  4 14:25:53 2015
New Revision: 1717970

URL: http://svn.apache.org/viewvc?rev=1717970&view=rev
Log:
adding to window_update tests to verify connection window exhaustion (or lack of it)

Modified:
    httpd/test/mod_h2/trunk/test/test_window_update.sh

Modified: httpd/test/mod_h2/trunk/test/test_window_update.sh
URL: http://svn.apache.org/viewvc/httpd/test/mod_h2/trunk/test/test_window_update.sh?rev=1717970&r1=1717969&r2=1717970&view=diff
==============================================================================
--- httpd/test/mod_h2/trunk/test/test_window_update.sh (original)
+++ httpd/test/mod_h2/trunk/test/test_window_update.sh Fri Dec  4 14:25:53 2015
@@ -34,19 +34,18 @@ fi
 # test if small uploads trigger window_udpate(s) and do not let connection
 # windows shrink to 0.
 #
-echo -n "POSTing 10 x 10k to server, MUST not hang"
+echo -n "POSTing 10 x 10k, m=1"
 ${H2LOAD} -p h2c -c 1 -t 1 -m 1 -n 10 -d $GEN/data-10k ${URL_PREFIX} |
-while read line; do echo -n "."; done
-echo "ok."
+while read line; do echo -n "."; done; echo "ok."
 
-echo -n "POSTing 10 x 100k to server, which are READ by app"
-${H2LOAD} -p h2c -c 1 -t 1 -m 1 -n 100 -d $GEN/data-100k ${URL_PREFIX}/upload.py |
-while read line; do echo -n "."; done
-echo "ok."
+echo -n "POSTing 1000 x 1k, m=100"
+${H2LOAD} -p h2c -c 1 -t 1 -m 100 -n 1000 -d $GEN/data-1k ${URL_PREFIX} |
+while read line; do echo -n "."; done; echo "ok."
 
-# FIXME: this does not work reliably for n >= 100
-#
-#echo -n "POSTing 10 x 100k to server, which are NOTREAD by app"
-#${H2LOAD} -p h2c -c 1 -t 1 -m 1 -n 10 -d $GEN/data-100k ${URL_PREFIX} |
-#while read line; do echo -n "."; done
-#echo "ok."
\ No newline at end of file
+echo -n "POSTing 100 x 100k, m=5, READ"
+${H2LOAD} -p h2c -c 1 -t 1 -m 5 -n 100 -d $GEN/data-100k ${URL_PREFIX}/upload.py |
+while read line; do echo -n "."; done; echo "ok."
+
+echo -n "POSTing 100 x 100k, m=50, NOT READ explicitly"
+${H2LOAD} -p h2c -c 1 -t 1 -m 50 -n 100 -d $GEN/data-100k ${URL_PREFIX} |
+while read line; do echo -n "."; done; echo "ok."



Mime
View raw message