test: resolve flaky repl test #9447
test-shared.yml
on: pull_request
Annotations
2 errors
|
x86_64-linux: with shared libraries / build
Process completed with exit code 2.
|
|
x86_64-linux: with shared libraries / build:
test/parallel/test-repl-user-error-handler.mjs#L54
--- stdout ---
Test failure: 'async: true, handleErrorReturn: ignore'
Location: test/parallel/test-repl-user-error-handler.mjs:25:13
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ 'Inspector error -32000: Promise was collected'
- 'testerror'
at TestContext.<anonymous> (file:///home/runner/work/_temp/node-v27.0.0-nightly2026-07-195283197f6c-slim/test/parallel/test-repl-user-error-handler.mjs:54:14)
at async Test.run (node:internal/test_runner/test:1404:7)
at async TestContext.<anonymous> (file:///home/runner/work/_temp/node-v27.0.0-nightly2026-07-195283197f6c-slim/test/parallel/test-repl-user-error-handler.mjs:25:5)
at async Test.run (node:internal/test_runner/test:1404:7)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'Inspector error -32000: Promise was collected',
expected: 'testerror',
operator: 'strictEqual',
diff: 'simple'
}
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/_temp/node-v27.0.0-nightly2026-07-195283197f6c-slim/test/parallel/test-repl-user-error-handler.mjs
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
node-v27.0.0-nightly2026-07-195283197f6c-slim.tar.gz
|
46.8 MB |
sha256:5daa9d5cb00e935f13d640929bb99ae04a45fb335c97c49e5bfeadae21be9684
|
|