Closed
Description
Version
v18.0.0-pre
Platform
No response
Subsystem
No response
What steps will reproduce the bug?
Run tests as root
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior?
No response
What do you see instead?
Path: sequential/test-heapdump
node:assert:123
throw new AssertionError(obj);
^
AssertionError [ERR_ASSERTION]: Missing expected exception.
at Object.<anonymous> (/root/Documents/node/test/sequential/test-heapdump.js:30:10)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47 {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: undefined,
expected: [Function (anonymous)],
operator: 'throws'
}
Additional information
This test is introduced in the commit 74b9baa
I think the test didn't work because root ignored file permissions