GeezerVison is showing github.com — PubSub: Add system tests for PubSub clients by plamut · Pull Request #8277 · googleapis/google-cloud-python
Conversation
plamut
commented
Jun 11, 2019
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Closes #4031.
The title says it all - this PR adds the missing system tests mentioned in the issue description:
- Listing topics and subscriptions in the client's project.
- Creating subscriptions with non-default settings.
- Listing subscriptions bound to a topic.
- Setting / getting IAM policy for topics and subscriptions
Creating / seeking snapshots. ⬅️ Removed, because the server only guarantees eventual re-delivery, and a test cannot wait for a fixed amount of time, causes flakiness.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
The PubSub backend does not give any guarantees about when a message
will be re-delivered after seeking back to a snapshot, it will only
be delivered "eventually". That causes flakiness in the snapshots
test.
Since the test cannot wait for an indefinite amount of time, this
commit removes it in order to not randomly break the CI builds.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
parthea
pushed a commit
that referenced
this pull request
Mar 2, 2026
* Add system tests for listing topics, subscriptions
* Add system test for listing topic's subscriptions
* Add system test for using PubSub snapshots
* Add PubSub system tests for managing IAM policy
* Add test for creating non-default subscriptions
* Remove flaky PubSub snapshots system test
The PubSub backend does not give any guarantees about when a message
will be re-delivered after seeking back to a snapshot, it will only
be delivered "eventually". That causes flakiness in the snapshots
test.
Since the test cannot wait for an indefinite amount of time, this
commit removes it in order to not randomly break the CI builds.
Reviewers
1 more reviewer
Reviewers whose approvals may not affect merge requirements
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
api: pubsub
Issues related to the Pub/Sub API.
cla: yes
This human has signed the Contributor License Agreement.
🚨
This issue needs some love.
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.