Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failed: External ArrayBuffer with finalizer #735

Closed
mhdawson opened this issue May 22, 2020 · 4 comments
Closed

Test failed: External ArrayBuffer with finalizer #735

mhdawson opened this issue May 22, 2020 · 4 comments
Labels

Comments

@mhdawson
Copy link
Member

Test failed: External ArrayBuffer with finalizer seems to have been failing since May 16, on Windows for master and 14.x

Running test 'objectreference'
Running test 'version_management'

All tests passed!
Test failed: External ArrayBuffer with finalizer
C:\workspace\node-test-node-addon-api-new\nodes\win-vs2019\node-addon-api\test\testUtil.js:17
        throw e;
        ^

AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:

1 !== 0

    at Array.<anonymous> (C:\workspace\node-test-node-addon-api-new\nodes\win-vs2019\node-addon-api\test\arraybuffer.js:42:14)
    at runGCTests (C:\workspace\node-test-node-addon-api-new\nodes\win-vs2019\node-addon-api\test\testUtil.js:14:17)
    at Immediate._onImmediate (C:\workspace\node-test-node-addon-api-new\nodes\win-vs2019\node-addon-api\test\testUtil.js:21:9)
    at processImmediate (internal/timers.js:456:21) {
  generatedMessage: true,
  code: 'ERR_ASSERTION',
  actual: 1,
  expected: 0,
  operator: 'strictEqual'
}
npm ERR! Test failed.  See above for more details.
Build step 'Conditional steps (multiple)' marked build as failure
@mhdawson
Copy link
Member Author

Don't see any changes to the test files for arraybuffer.js or arraybuffer.cc recently.

@gabrielschulhof are you aware of any finalizer related changes on the node core side recently?

@mhdawson
Copy link
Member Author

This looks like it could be related: nodejs/node#33321. It also went in to 14.x as well so that would explain it failing on both master and 14 but not earlier releases.

@mhdawson
Copy link
Member Author

From this comment likely an issue with timing/windows nodejs/node#33321 (comment)

as it sounds like the test needed to be updated for core for Windows.

@mhdawson mhdawson added the test label May 22, 2020
mhdawson added a commit to mhdawson/node-addon-api that referenced this issue May 25, 2020
Refs: nodejs#735

Signed-off-by: Michael Dawson <michael_dawson@ca.ibm.com>
mhdawson added a commit to mhdawson/node-addon-api that referenced this issue May 25, 2020
Refs: nodejs#735

Signed-off-by: Michael Dawson <michael_dawson@ca.ibm.com>
mhdawson added a commit to mhdawson/node-addon-api that referenced this issue May 25, 2020
Refs: nodejs#735

Signed-off-by: Michael Dawson <michael_dawson@ca.ibm.com>
mhdawson added a commit to mhdawson/node-addon-api that referenced this issue May 25, 2020
Refs: nodejs#735

Signed-off-by: Michael Dawson <michael_dawson@ca.ibm.com>
mhdawson added a commit to mhdawson/node-addon-api that referenced this issue May 25, 2020
Refs: nodejs#735

Signed-off-by: Michael Dawson <michael_dawson@ca.ibm.com>
mhdawson added a commit that referenced this issue May 25, 2020
Signed-off-by: Michael Dawson <michael_dawson@ca.ibm.com>

PR-URL: #737
Refs: #735
Reviewed-By: Anna Henningsen <anna@addaleax.net>
@gabrielschulhof
Copy link
Contributor

A fix for this has landed in #737.

kevindavies8 added a commit to kevindavies8/node-addon-api-Develop that referenced this issue Aug 24, 2022
Signed-off-by: Michael Dawson <michael_dawson@ca.ibm.com>

PR-URL: nodejs/node-addon-api#737
Refs: nodejs/node-addon-api#735
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Marlyfleitas added a commit to Marlyfleitas/node-api-addon-Development that referenced this issue Aug 26, 2022
Signed-off-by: Michael Dawson <michael_dawson@ca.ibm.com>

PR-URL: nodejs/node-addon-api#737
Refs: nodejs/node-addon-api#735
Reviewed-By: Anna Henningsen <anna@addaleax.net>
wroy7860 added a commit to wroy7860/addon-api-benchmark-node that referenced this issue Sep 19, 2022
Signed-off-by: Michael Dawson <michael_dawson@ca.ibm.com>

PR-URL: nodejs/node-addon-api#737
Refs: nodejs/node-addon-api#735
Reviewed-By: Anna Henningsen <anna@addaleax.net>
austinli64 added a commit to austinli64/node-addon-api that referenced this issue May 9, 2023
Signed-off-by: Michael Dawson <michael_dawson@ca.ibm.com>

PR-URL: nodejs/node-addon-api#737
Refs: nodejs/node-addon-api#735
Reviewed-By: Anna Henningsen <anna@addaleax.net>
johnfrench3 pushed a commit to johnfrench3/node-addon-api-git that referenced this issue Aug 11, 2023
Signed-off-by: Michael Dawson <michael_dawson@ca.ibm.com>

PR-URL: nodejs/node-addon-api#737
Refs: nodejs/node-addon-api#735
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants