added test-hhtp-pipeline-flood.js

This commit is contained in:
jfdenise 2014-01-07 11:16:53 +01:00
parent f90bedef97
commit a7d8fc121b
3 changed files with 14 additions and 0 deletions

View File

@ -297,6 +297,7 @@
<apply-diff src="test/simple" mod="${test.dir}/simple" name="test-http-end-throw-socket-handling.js"/>
<apply-diff src="test/simple" mod="${test.dir}/simple" name="test-http-many-ended-pipelines.js"/>
<apply-diff src="test/simple" mod="${test.dir}/simple" name="test-http-many-keep-alive-connections.js"/>
<apply-diff src="test/simple" mod="${test.dir}/simple" name="test-http-pipeline-flood.js"/>
<apply-diff src="test/simple" mod="${test.dir}/simple" name="test-https-strict.js"/>
<apply-diff src="test/simple" mod="${test.dir}/simple" name="test-module-loading.js"/>
<apply-diff src="test/simple" mod="${test.dir}/simple" name="test-net-pingpong.js"/>
@ -382,6 +383,7 @@
<apply-patch-file target="${test.dir}/simple" dir="test/simple" name="test-http-end-throw-socket-handling.js"/>
<apply-patch-file target="${test.dir}/simple" dir="test/simple" name="test-http-many-ended-pipelines.js"/>
<apply-patch-file target="${test.dir}/simple" dir="test/simple" name="test-http-many-keep-alive-connections.js"/>
<apply-patch-file target="${test.dir}/simple" dir="test/simple" name="test-http-pipeline-flood.js"/>
<apply-patch-file target="${test.dir}/simple" dir="test/simple" name="test-https-strict.js"/>
<apply-patch-file target="${test.dir}/simple" dir="test/simple" name="test-module-loading.js"/>
<apply-patch-file target="${test.dir}/simple" dir="test/simple" name="test-net-GH-5504.js"/>

View File

@ -0,0 +1,11 @@
--- ../node/test/simple/test-http-pipeline-flood.js 2013-12-16 14:49:26.000000000 +0100
+++ test/simple/test-http-pipeline-flood.js 2014-01-07 11:08:54.000000000 +0100
@@ -52,7 +52,7 @@
// kill the connection after a bit, verifying that the
// flood of requests was eventually halted.
- server.setTimeout(200, function(conn) {
+ server.setTimeout(2000, function(conn) {
gotTimeout = true;
conn.destroy();
});

View File

@ -310,6 +310,7 @@ source.test.simple.list = \
test-http-parser.js \
test-http-pause-resume-one-end.js \
test-http-pause.js \
test-http-pipeline-flood.js \
test-http-pipe-fs.js \
test-http-proxy.js \
test-http-request-end.js \