added test-next-tick-error-spin.js, patched to have child process enough time to execute
This commit is contained in:
parent
dc6cfa955f
commit
6243e0fe23
@ -313,6 +313,7 @@
|
||||
<apply-diff src="test/simple" mod="${test.dir}/simple" name="test-net-settimeout.js"/>
|
||||
<apply-diff src="test/simple" mod="${test.dir}/simple" name="test-net-write-slow.js"/>
|
||||
<apply-diff src="test/simple" mod="${test.dir}/simple" name="test-next-tick.js"/>
|
||||
<apply-diff src="test/simple" mod="${test.dir}/simple" name="test-next-tick-error-spin.js"/>
|
||||
<apply-diff src="test/simple" mod="${test.dir}/simple" name="test-os.js"/>
|
||||
<apply-diff src="test/simple" mod="${test.dir}/simple" name="test-process-exec-argv.js"/>
|
||||
<apply-diff src="test/simple" mod="${test.dir}/simple" name="test-pipe-head.js"/>
|
||||
@ -411,6 +412,7 @@
|
||||
<apply-patch-file target="${test.dir}/simple" dir="test/simple" name="test-net-settimeout.js"/>
|
||||
<apply-patch-file target="${test.dir}/simple" dir="test/simple" name="test-net-write-slow.js"/>
|
||||
<apply-patch-file target="${test.dir}/simple" dir="test/simple" name="test-next-tick.js"/>
|
||||
<apply-patch-file target="${test.dir}/simple" dir="test/simple" name="test-next-tick-error-spin.js"/>
|
||||
<apply-patch-file target="${test.dir}/simple" dir="test/simple" name="test-os.js"/>
|
||||
<apply-patch-file target="${test.dir}/simple" dir="test/simple" name="test-process-exec-argv.js"/>
|
||||
<apply-patch-file target="${test.dir}/simple" dir="test/simple" name="test-pipe-head.js"/>
|
||||
|
11
patches/test/simple/test-next-tick-error-spin.js.patch
Normal file
11
patches/test/simple/test-next-tick-error-spin.js.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- ../node/test/simple/test-next-tick-error-spin.js 2013-08-22 13:48:54.000000000 +0200
|
||||
+++ test/simple/test-next-tick-error-spin.js 2014-01-10 09:14:49.000000000 +0100
|
||||
@@ -29,7 +29,7 @@
|
||||
});
|
||||
var timer = setTimeout(function() {
|
||||
throw new Error('child is hung');
|
||||
- }, 500);
|
||||
+ }, 10000);
|
||||
child.on('exit', function(code) {
|
||||
console.error('ok');
|
||||
assert(!code);
|
@ -447,6 +447,7 @@ source.test.simple.list = \
|
||||
test-next-tick.js \
|
||||
test-next-tick-doesnt-hang.js \
|
||||
test-next-tick-errors.js \
|
||||
test-next-tick-error-spin.js \
|
||||
test-next-tick-intentional-starvation.js \
|
||||
test-next-tick-ordering.js \
|
||||
test-next-tick-ordering2.js \
|
||||
|
Loading…
Reference in New Issue
Block a user