Added test-force-repl.js, patched to give more time to child process to execute
This commit is contained in:
parent
17bcf7317d
commit
b96d70c513
@ -292,6 +292,7 @@
|
||||
<apply-diff src="test/simple" mod="${test.dir}/simple" name="test-dgram-unref.js"/>
|
||||
<apply-diff src="test/simple" mod="${test.dir}/simple" name="test-domain.js"/>
|
||||
<apply-diff src="test/simple" mod="${test.dir}/simple" name="test-error-reporting.js"/>
|
||||
<apply-diff src="test/simple" mod="${test.dir}/simple" name="test-force-repl.js"/>
|
||||
<apply-diff src="test/simple" mod="${test.dir}/simple" name="test-fs-read-stream.js"/>
|
||||
<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"/>
|
||||
@ -387,6 +388,7 @@
|
||||
<apply-patch-file target="${test.dir}/simple" dir="test/simple" name="test-dgram-unref.js"/>
|
||||
<apply-patch-file target="${test.dir}/simple" dir="test/simple" name="test-domain.js"/>
|
||||
<apply-patch-file target="${test.dir}/simple" dir="test/simple" name="test-error-reporting.js"/>
|
||||
<apply-patch-file target="${test.dir}/simple" dir="test/simple" name="test-force-repl.js"/>
|
||||
<apply-patch-file target="${test.dir}/simple" dir="test/simple" name="test-fs-read-stream.js"/>
|
||||
<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"/>
|
||||
|
11
patches/test/simple/test-force-repl.js.patch
Normal file
11
patches/test/simple/test-force-repl.js.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- ../node/test/simple/test-force-repl.js 2013-08-22 13:48:54.000000000 +0200
|
||||
+++ test/simple/test-force-repl.js 2014-01-09 10:55:51.000000000 +0100
|
||||
@@ -28,7 +28,7 @@
|
||||
var gotToEnd = false;
|
||||
var timeoutId = setTimeout(function() {
|
||||
throw new Error('timeout!');
|
||||
-}, 1000); // give node + the repl 1 second to boot up
|
||||
+}, 10000); // give node + the repl 1 second to boot up
|
||||
|
||||
cp.stdout.setEncoding('utf8');
|
||||
|
@ -212,6 +212,7 @@ source.test.simple.list = \
|
||||
test-file-write-stream.js \
|
||||
test-file-write-stream2.js \
|
||||
test-file-write-stream3.js \
|
||||
test-force-repl.js \
|
||||
test-fs-append-file.js \
|
||||
test-fs-append-file-sync.js \
|
||||
test-fs-chmod.js \
|
||||
|
Loading…
Reference in New Issue
Block a user