This fails on my local (and sometimes on my fork) with the log:
=== release test ===
Path: node-api/test_callback_scope/test
--- stderr ---
/home/rexagod/node/test/node-api/test_callback_scope/test.js:7
assert.strictEqual(runInCallbackScope({}, 'test-resource', () => 42), 42);
^
Error: assertion (argc == 4) failed: Wrong number of arguments
at Object.<anonymous> (/home/rexagod/node/test/node-api/test_callback_scope/test.js:7:20)
at Module._compile (internal/modules/cjs/loader.js:1176:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1196:10)
at Module.load (internal/modules/cjs/loader.js:1040:32)
at Function.Module._load (internal/modules/cjs/loader.js:929:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47
Command: out/Release/node /home/rexagod/node/test/node-api/test_callback_scope/test.js
Distro: Fedora 31
Node v14.1.0
I think it's worth noting that #33208 fails every time this does.
This test case has been updated recently. Please make sure make build-node-api-tests run before running n-api related tests. make test should cover this by default.
That did it! Thanks!
Most helpful comment
This test case has been updated recently. Please make sure
make build-node-api-testsrun before running n-api related tests.make testshould cover this by default.