Skip to content

core: fix unit test stream errors#1028

Merged
callmehiphop merged 1 commit intogoogleapis:masterfrom
stephenplusplus:spp--tests-docs-stream-fix
Dec 18, 2015
Merged

core: fix unit test stream errors#1028
callmehiphop merged 1 commit intogoogleapis:masterfrom
stephenplusplus:spp--tests-docs-stream-fix

Conversation

@stephenplusplus
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

Actually, after the file using it has been required.

@callmehiphop
Copy link
Copy Markdown
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
miguelvelezsa pushed a commit that referenced this pull request Jul 23, 2025
…1028)

* fix: support uint64 conversion between the pf message and JSON object

* fix: make enums properly work in request

Co-authored-by: Alexander Fenster <[email protected]>
miguelvelezsa pushed a commit that referenced this pull request Jul 23, 2025
Add unit test for enum conversion #1028
sofisl pushed a commit that referenced this pull request Feb 3, 2026
GautamSharda pushed a commit that referenced this pull request Mar 11, 2026
* changes without context

        autosynth cannot find the source of changes triggered by earlier changes in this
        repository, or by version upgrades to tools such as linters.

* docs: Add a link to Pub/Sub filtering language public documentation to pubsub.proto

PiperOrigin-RevId: 315930680

Source-Author: Google APIs <[email protected]>
Source-Date: Thu Jun 11 10:43:34 2020 -0700
Source-Repo: googleapis/googleapis
Source-Sha: a19b46e54cc5195557f70ff68f1696d1e3b4702e
Source-Link: googleapis/googleapis@a19b46e
GautamSharda pushed a commit that referenced this pull request Mar 11, 2026
🤖 I have created a release \*beep\* \*boop\* 
---
## [2.2.0](https://www.github.com/googleapis/nodejs-pubsub/compare/v2.1.0...v2.2.0) (2020-07-09)


### Features

* add flow control settings for StreamingPullRequest to pubsub.proto ([#1035](https://www.github.com/googleapis/nodejs-pubsub/issues/1035)) ([a7dff65](https://www.github.com/googleapis/nodejs-pubsub/commit/a7dff65c1a4115e75251b775f679e6beb092928e))
* move ts target to es2018 from es2016 ([#1022](https://www.github.com/googleapis/nodejs-pubsub/issues/1022)) ([016568d](https://www.github.com/googleapis/nodejs-pubsub/commit/016568df466c2a543762ab4f194b785a426ad880))
* Re-export ClientConfig from pubsub.ts in package index.ts ([#1038](https://www.github.com/googleapis/nodejs-pubsub/issues/1038)) ([c2ac083](https://www.github.com/googleapis/nodejs-pubsub/commit/c2ac083fdb5f3b71dcb3be482b8ee5c9d527342d)), closes [#972](https://www.github.com/googleapis/nodejs-pubsub/issues/972)


### Bug Fixes

* handle fallback option properly ([#1028](https://www.github.com/googleapis/nodejs-pubsub/issues/1028)) ([5dc1827](https://www.github.com/googleapis/nodejs-pubsub/commit/5dc18270220dbf39f5a871716b4dd9d002d0c536))
* update node issue template ([#1033](https://www.github.com/googleapis/nodejs-pubsub/issues/1033)) ([52ba0ae](https://www.github.com/googleapis/nodejs-pubsub/commit/52ba0ae0218c0859a03d8ad9e4f27130ceb4cc61))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please).
thiyaguk09 pushed a commit to thiyaguk09/google-cloud-node-fork that referenced this pull request Mar 18, 2026
GautamSharda pushed a commit that referenced this pull request Mar 23, 2026
GautamSharda pushed a commit that referenced this pull request Mar 25, 2026
feywind pushed a commit that referenced this pull request Mar 27, 2026
🤖 I have created a release \*beep\* \*boop\* 
---
## [2.2.0](https://www.github.com/googleapis/nodejs-pubsub/compare/v2.1.0...v2.2.0) (2020-07-09)


### Features

* add flow control settings for StreamingPullRequest to pubsub.proto ([#1035](https://www.github.com/googleapis/nodejs-pubsub/issues/1035)) ([a7dff65](https://www.github.com/googleapis/nodejs-pubsub/commit/a7dff65c1a4115e75251b775f679e6beb092928e))
* move ts target to es2018 from es2016 ([#1022](https://www.github.com/googleapis/nodejs-pubsub/issues/1022)) ([016568d](https://www.github.com/googleapis/nodejs-pubsub/commit/016568df466c2a543762ab4f194b785a426ad880))
* Re-export ClientConfig from pubsub.ts in package index.ts ([#1038](https://www.github.com/googleapis/nodejs-pubsub/issues/1038)) ([c2ac083](https://www.github.com/googleapis/nodejs-pubsub/commit/c2ac083fdb5f3b71dcb3be482b8ee5c9d527342d)), closes [#972](https://www.github.com/googleapis/nodejs-pubsub/issues/972)


### Bug Fixes

* handle fallback option properly ([#1028](https://www.github.com/googleapis/nodejs-pubsub/issues/1028)) ([5dc1827](https://www.github.com/googleapis/nodejs-pubsub/commit/5dc18270220dbf39f5a871716b4dd9d002d0c536))
* update node issue template ([#1033](https://www.github.com/googleapis/nodejs-pubsub/issues/1033)) ([52ba0ae](https://www.github.com/googleapis/nodejs-pubsub/commit/52ba0ae0218c0859a03d8ad9e4f27130ceb4cc61))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please).
shivanee-p pushed a commit that referenced this pull request Mar 27, 2026
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