increase timeout for test-http-client-timeout-event (fails occaisionally on windows)

This commit is contained in:
akhil 2014-01-02 11:49:30 -08:00
parent 311b55cd93
commit 4678391303
2 changed files with 12 additions and 0 deletions

View File

@ -293,6 +293,7 @@
<apply-diff src="test/simple" mod="${test.dir}/simple" name="test-fs-readfile-pipe.js"/>
<apply-diff src="test/simple" mod="${test.dir}/simple" name="test-http.js"/>
<apply-diff src="test/simple" mod="${test.dir}/simple" name="test-http-client-timeout-agent.js"/>
<apply-diff src="test/simple" mod="${test.dir}/simple" name="test-http-client-timeout-event.js"/>
<apply-diff src="test/simple" mod="${test.dir}/simple" name="test-http-default-encoding.js"/>
<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"/>
@ -376,6 +377,7 @@
<apply-patch-file target="${test.dir}/simple" dir="test/simple" name="test-fs-readfile-pipe.js"/>
<apply-patch-file target="${test.dir}/simple" dir="test/simple" name="test-http.js"/>
<apply-patch-file target="${test.dir}/simple" dir="test/simple" name="test-http-client-timeout-agent.js"/>
<apply-patch-file target="${test.dir}/simple" dir="test/simple" name="test-http-client-timeout-event.js"/>
<apply-patch-file target="${test.dir}/simple" dir="test/simple" name="test-http-default-encoding.js"/>
<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"/>

View File

@ -0,0 +1,10 @@
--- ../node/test/simple/test-http-client-timeout-event.js 2013-12-13 12:23:26 -0800
+++ test/simple//test-http-client-timeout-event.js 2014-01-02 11:06:29 -0800
@@ -53,6 +53,6 @@
setTimeout(function () {
req.destroy();
assert.equal(timeout_events, 1);
- }, 10);
+ }, 100);
req.end();
});