-
Notifications
You must be signed in to change notification settings - Fork 30k
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: run test-abort-aliased-buffer-overflow #32626
Conversation
Looks like the test is failing on Windows. |
Updated to fix the Windows build. The workers CI is also failing, but I'll need to think for a bit (when it's not 3am in the morning) how to fix that because I can't just add |
nodejs#31740 added an addon-style test to `test/abort` that was never run because `test/abort/testcfg.py` uses the AbortTestConfiguration which inherits from SimpleTestConfiguration which only finds tests in the root of `test/abort`. Make AbortTestConfiguration inherit from AddonTestConfiguration and change AddonTestConfiguration to find the tests in the root of the test bucket in addition to the subfolders. Fixup `test-abort-aliased-buffer-overflow` so that it works as intended. Signed-off-by: Richard Lau <[email protected]>
Fixed most of the broken CI by removing the abort tests from Lines 1487 to 1489 in b9da063
Compilation of the test is failing on Windows, e.g. https://ci.nodejs.org/job/node-test-binary-windows-native-suites/2398/nodes=win10-vs2019-COMPILED_BY-vs2019/console
Is the Aliased*Buffer API external (in which case this looks like a bug)? If it's internal then this really shouldn't be tested as an addon (particularly with all the build file and test configuration changes it dragged in with it) and if we really want a test for it maybe as a cctest? (Although I don't know how cctest would handle testing that something aborts.) |
I'm going to close this in favour of reverting the test (just the test+Makefile changes): #33196 It doesn't seem that AliasedBuffers should be tested as an addon, and mixing addons |
#31740 added an addon-style test to
test/abort
that was never run becausetest/abort/testcfg.py
uses theAbortTestConfiguration which inherits from SimpleTestConfiguration which
only finds tests in the root of
test/abort
.Make AbortTestConfiguration inherit from AddonTestConfiguration and
change AddonTestConfiguration to find the tests in the root of the test
bucket in addition to the subfolders.
Fixup
test-abort-aliased-buffer-overflow
so that it works as intended.Refs: #31740
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes