Skip to content

test(PubSub): deflake BulkMessaging midway cancelation test#15666

Merged
robertvoinescu-work merged 1 commit into
googleapis:mainfrom
robertvoinescu-work:fix/integration-test-threshold
Jun 12, 2026
Merged

test(PubSub): deflake BulkMessaging midway cancelation test#15666
robertvoinescu-work merged 1 commit into
googleapis:mainfrom
robertvoinescu-work:fix/integration-test-threshold

Conversation

@robertvoinescu-work

Copy link
Copy Markdown
Contributor

b/523311199

@robertvoinescu-work robertvoinescu-work requested a review from a team as a code owner June 12, 2026 18:26
@product-auto-label product-auto-label Bot added the api: pubsub Issues related to the Pub/Sub API. label Jun 12, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates the integration test PubSubClientTest.cs by adjusting the assertion for the received message count (recvCount) during stream shutdown. It replaces the dynamic buffer limit based on maxMessagesInFlight with a fixed prefetchSize of 1,000 to account for messages already in the local buffer when cancellation propagates. I have no feedback to provide as there are no review comments.

@robertvoinescu-work robertvoinescu-work merged commit 82a2c67 into googleapis:main Jun 12, 2026
16 checks passed
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