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

core: fix unit test stream errors #1028

Merged

Conversation

stephenplusplus
Copy link
Contributor

Our tests have been bombing lately after a transient dependency made a simple perf change: nodejs/readable-stream@670ddf3

It's loaded through duplexify, but I'm not sure why it's causing our tests to fail. It's definitely related to being combined with mockery, but I can't pin down exactly... how.

But, this PR fixes it.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 18, 2015
@callmehiphop
Copy link
Contributor

So just to clarify, if a spec file requires the use of duplexify, we need to wait to require it after mockery has been enabled?

@stephenplusplus
Copy link
Contributor Author

Actually, after the file using it has been required.

@callmehiphop
Copy link
Contributor

Got it, thanks! That should be a fun "gotcha" for the future, maybe we should look into a mockery alternative.

callmehiphop added a commit that referenced this pull request Dec 18, 2015
@callmehiphop callmehiphop merged commit 2f05c2f into googleapis:master Dec 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement. core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants