Closed
Description
11:07:54 not ok 2050 sequential/test-repl-timeout-throw
11:07:54 ---
11:07:54 duration_ms: 5.146
11:07:54 severity: fail
11:07:54 stack: |-
11:07:54 > ''
11:07:54 > THROW 0
11:07:54 ReferenceError: XXX is not defined
11:07:54 at Timeout.thrower [as _onTimeout] (repl:1:116)
11:07:54 at ontimeout (timers.js:458:11)
11:07:54 at tryOnTimeout (timers.js:307:5)
11:07:54 at Timer.listOnTimeout (timers.js:270:5)
11:07:54 > undefined
11:07:54 > ... ... ... ..... ..... ....... ....... ..... ... ''
11:07:54 > THROW 1
11:07:54 ReferenceError: XXX is not defined
11:07:54 at EventEmitter.thrower (repl:1:116)
11:07:54 at EventEmitter.emit (events.js:131:13)
11:07:54 at EventEmitter.emit (domain.js:439:23)
11:07:54 > 2
11:07:54 var throws = 0;process.on("exit",function(){console.log(throws)});function thrower(){console.log("THROW",throws++);XXX};setTimeout(thrower);""
11:07:54 fs.readFile("/home/iojs/build/workspace/node-test-commit-linux-containered/nodes/ubuntu1604_sharedlibs_debug_x64/test/sequential/test-repl-timeout-throw.js", thrower);
11:07:54 setTimeout(function() {
11:07:54 const events = require("events");
11:07:54 var e = new events.EventEmitter;
11:07:54 process.nextTick(function() {
11:07:54 e.on("x", thrower);
11:07:55 setTimeout(function() {
11:07:55 e.emit("x");
11:07:55 });
11:07:55 });
11:07:55 });"";
11:07:55 assert.js:72
11:07:55 throw new AssertionError(obj);
11:07:55 ^
11:07:55
11:07:55 AssertionError [ERR_ASSERTION]: '> 2' strictEqual '> 3'
11:07:55 at ChildProcess.<anonymous> (/home/iojs/build/workspace/node-test-commit-linux-containered/nodes/ubuntu1604_sharedlibs_debug_x64/test/sequential/test-repl-timeout-throw.js:58:10)
11:07:55 at ChildProcess.emit (events.js:131:13)
11:07:55 at maybeClose (internal/child_process.js:946:16)
11:07:55 at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)