-
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: add an zlib binding addon test #8039
Conversation
Add a test addon that makes use of the zlib implementation bundled with node, checking that a compression/decompression round-trip works. This is largely based on the already-existing OpenSSL addon. Fixes: nodejs#7535
That was fast! |
LGTM if CI is green. |
CI is actually green, with one unrelated Windows test failure. |
Smart test. Thanks for fixing this. |
LGTM. Unrelated failure on the 2,vs2015,win2012r2 buildbot. |
LGTM |
New C since there were a couple (apparently unrelated) failures in the last run: https://ci.nodejs.org/job/node-test-pull-request/3647/ |
more unrelated build bot failures in CI :-( ... few tests still pending tho. |
This time, apparently the binding used in the test here failed to be created on CI, although that went perfectly fine in the previous CI, and I can’t see anything hinting at the cause of that… /cc @nodejs/build? |
Trying CI once more: https://ci.nodejs.org/job/node-test-commit/4594/ |
CI is green. Landing |
Add a test addon that makes use of the zlib implementation bundled with node, checking that a compression/decompression round-trip works. This is largely based on the already-existing OpenSSL addon. Fixes: #7535 PR-URL: #8039 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Landed in 4c9b0bd |
Add a test addon that makes use of the zlib implementation bundled with node, checking that a compression/decompression round-trip works. This is largely based on the already-existing OpenSSL addon. Fixes: #7535 PR-URL: #8039 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Add a test addon that makes use of the zlib implementation bundled with node, checking that a compression/decompression round-trip works. This is largely based on the already-existing OpenSSL addon. Fixes: #7535 PR-URL: #8039 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@addaleax it looks like this is causing failures on windows on v4.x
I'm going to avoid backing it out for right now as I'm landing PR's and don't want to cause more rebases... but will be looking at backing it out after a few things land. If you could look into it and find a solution before then that would be rad! |
It is supposed to fail under Windows (4.x) since the fix of zlib for Windows is only applied to the 6.x of Node.js. |
would you be willing to submit a pr to v4.x that sets it as flaky? or would On Mon, Oct 10, 2016, 2:16 PM Alex Hultman notifications@github.com wrote:
|
I think the idea was to not backport any of those fixes (zlib, openssl) to 4.x since some addons have kind of ignored to really fix the real issue and instead do link to their own versions of openssl and zlib. So when 6.x added its own exposure of zlib and openssl some addons broke because of colliding symbols or something like that. |
Yeah, if this is backported to v4, the test should probably be marked as flaky. |
Im going to go ahead and back this out of v4.x. Please feel free to submit a backport with the flaky tst set appropriately, but I don't think we need it |
Checklist
make -j4 test
(UNIX), orvcbuild test nosign
(Windows) passesAffected core subsystem(s)
test/zlib
Description of change
Add a test addon that makes use of the zlib implementation bundled with node, checking that a compression/decompression round-trip works.
This is largely based on the already-existing OpenSSL addon.
Fixes: #7535
Initial CI: https://ci.nodejs.org/job/node-test-commit/4488/