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

[chore][exporter/googlecloudpubsub] improve unit testing #37347

Merged
merged 4 commits into from
Jan 21, 2025

Conversation

kevinnoel-be
Copy link
Contributor

Description

Improves unit testing without having to rely on an emulated server.

Link to tracking issue

Part of the preparation for #32850, as mentioned in #36591 (comment)

Copy link
Contributor

@alexvanboxel alexvanboxel left a comment

Choose a reason for hiding this comment

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

Although this improves the tests, I think the code change will crash the receiver, due to a missing makeClient function.

@kevinnoel-be kevinnoel-be force-pushed the pubsub-improve-tests branch 2 times, most recently from 682f914 to 0a380ec Compare January 20, 2025 19:08
Copy link
Contributor

@alexvanboxel alexvanboxel left a comment

Choose a reason for hiding this comment

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

LGTM (I'm the code owners)

@fatsheep9146 fatsheep9146 added the ready to merge Code review completed; ready to merge by maintainers label Jan 21, 2025
@songy23 songy23 merged commit a7e3857 into open-telemetry:main Jan 21, 2025
164 checks passed
@github-actions github-actions bot added this to the next release milestone Jan 21, 2025
@kevinnoel-be kevinnoel-be deleted the pubsub-improve-tests branch January 21, 2025 14:57
chengchuanpeng pushed a commit to chengchuanpeng/opentelemetry-collector-contrib that referenced this pull request Jan 26, 2025
…try#37347)

#### Description
Improves unit testing without having to rely on an emulated server.

#### Link to tracking issue
Part of the preparation for open-telemetry#32850, as mentioned in
open-telemetry#36591 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exporter/googlecloudpubsub ready to merge Code review completed; ready to merge by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants