Skip to content

test(pubsub): speed up testing on macOS#5088

Merged
coryan merged 1 commit intogoogleapis:mainfrom
coryan:test-pubsub-speed-up-on-macOS
Mar 23, 2026
Merged

test(pubsub): speed up testing on macOS#5088
coryan merged 1 commit intogoogleapis:mainfrom
coryan:test-pubsub-speed-up-on-macOS

Conversation

@coryan
Copy link
Copy Markdown
Collaborator

@coryan coryan commented Mar 21, 2026

Without this change the test takes over 2 minutes on macOS. At least one attempt takes over 10 minutes. It is possible it is even deadlocked or at least not making progress.

With this change the test passes in less than 100ms.

Without this change the test takes over 2 minutes on macOS. At least one
attempt takes over 10 minutes. It is possible it is even deadlocked or
at least not making progress.

With this change the test passes in less than 100ms.
@product-auto-label product-auto-label bot added the api: pubsub Issues related to the Pub/Sub API. label Mar 21, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.66%. Comparing base (14e55cf) to head (745faea).
⚠️ Report is 7 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5088   +/-   ##
=======================================
  Coverage   97.66%   97.66%           
=======================================
  Files         215      215           
  Lines       41403    41403           
=======================================
  Hits        40437    40437           
  Misses        966      966           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@coryan coryan marked this pull request as ready for review March 21, 2026 20:28
@coryan coryan requested a review from a team as a code owner March 21, 2026 20:28
@coryan coryan merged commit 2520727 into googleapis:main Mar 23, 2026
35 checks passed
@coryan coryan deleted the test-pubsub-speed-up-on-macOS branch March 23, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: pubsub Issues related to the Pub/Sub API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants