test_runner: fix recursive run #49419
Annotations
2 errors
test-macOS:
test/parallel/test-runner-run.mjs#L535
--- stderr ---
(node:41407) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 uncaughtException listeners added to [process]. Use emitter.setMaxListeners() to increase limit
(Use `node --trace-warnings ...` to show where the warning was created)
(node:41407) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 unhandledRejection listeners added to [process]. Use emitter.setMaxListeners() to increase limit
(node:41407) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 beforeExit listeners added to [process]. Use emitter.setMaxListeners() to increase limit
--- stdout ---
βΆ require('node:test').run
β should run with no tests (584.032292ms)
::debug::starting to run require('node:test').run
::debug::starting to run should run with no tests
::debug::completed running should run with no tests
β should fail with non existing file (684.209125ms)
::debug::starting to run should fail with non existing file
::debug::completed running should fail with non existing file
β should succeed with a file (695.856667ms)
::debug::starting to run should succeed with a file
::debug::completed running should succeed with a file
β should run same file twice (876.386458ms)
β should run a failed test (683.591083ms)
β should support timeout (685.820208ms)
β should be piped with dot (705.4885ms)
βΆ should be piped with spec reporter
β new spec (697.478459ms)
β spec() (697.545875ms)
β spec (697.7025ms)
::debug::starting to run should run same file twice
::debug::completed running should run same file twice
::debug::starting to run should run a failed test
::debug::completed running should run a failed test
::debug::starting to run should support timeout
::debug::completed running should support timeout
::debug::starting to run should be piped with dot
::debug::completed running should be piped with dot
::debug::starting to run should be piped with spec reporter
::debug::starting to run new spec
::debug::completed running new spec
::debug::starting to run spec()
::debug::completed running spec()
::debug::starting to run spec
::debug::completed running spec
βΆ should be piped with spec reporter (723.748167ms)
β should be piped with tap (740.6435ms)
β should skip tests not matching testNamePatterns - RegExp (740.742375ms)
β should skip tests not matching testNamePatterns - string (740.931417ms)
β should pass only to children (740.879542ms)
β should emit "test:watch:drained" event on watch mode (462.682167ms)
βΆ AbortSignal
β should accept a signal (543.610292ms)
::debug::completed running should be piped with spec reporter
::debug::starting to run should be piped with tap
::debug::completed running should be piped with tap
::debug::starting to run should skip tests not matching testNamePatterns - RegExp
::debug::completed running should skip tests not matching testNamePatterns - RegExp
::debug::starting to run should skip tests not matching testNamePatterns - string
::debug::completed running should skip tests not matching testNamePatterns - string
::debug::starting to run should pass only to children
::debug::completed running should pass only to children
::debug::starting to run should emit "test:watch:drained" event on watch mode
::debug::completed running should emit "test:watch:drained" event on watch mode
::debug::starting to run AbortSignal
::debug::starting to run should accept a signal
::debug::completed running should accept a signal
::debug::starting to run should stop watch mode when abortSignal aborts
β should stop watch mode when abortSignal aborts (699.329959ms)
β should abort when test succeeded (699.418334ms)
β should abort when test failed (699.593792ms)
βΆ AbortSignal (712.682125ms)
::debug::completed running should stop watch mode when abortSignal aborts
::debug::starting to run should abort when test succeeded
::debug::completed running should abort when test succeeded
::debug::starting to run should abort when test failed
::debug::completed running should abort when test failed
::debug::completed running
|
test-macOS
Process completed with exit code 2.
|