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

fix failing tests #66

Merged
merged 3 commits into from
Apr 13, 2017
Merged

fix failing tests #66

merged 3 commits into from
Apr 13, 2017

Conversation

rmg
Copy link
Member

@rmg rmg commented Apr 13, 2017

The problem is that gzip headers include a platform identifier.
Previously, zlib was incorrectly treating macOS as just a "generic
UNIX", but now it is actually using the correct header. The updated zlib
made its way in to recent versions of node and started uncovering a new
source of platform-specific assumptions that people didn't know they
were making.

To fix this, instead of hard-coding the expected gzip compression
result, we can just generate them on the testing platform.

This is an instance of nodejs/node#12244.

Signed-off-by: Ryan Graham <[email protected]>
@rmg rmg changed the title fix platform-specific compression test failure fix failing tests Apr 13, 2017
@tonyffrench
Copy link
Contributor

LGTM!

@rmg rmg changed the title fix failing tests WIP: fix failing tests Apr 13, 2017
Port 7000 and 7001 are used by Cassandra, which is present and running
in our primary test environments on CI.

Signed-off-by: Ryan Graham <[email protected]>
@rmg rmg changed the title WIP: fix failing tests fix failing tests Apr 13, 2017
@rmg rmg requested a review from tonyffrench April 13, 2017 21:09
Copy link
Contributor

@tonyffrench tonyffrench left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good!

@rmg rmg merged commit 84f9218 into master Apr 13, 2017
@rmg rmg deleted the fix-zlib-test branch April 13, 2017 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants