GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — PubSub: Add system tests for PubSub clients by plamut · Pull Request #8277 · googleapis/google-cloud-python

Conversation

@plamut

@plamut plamut commented Jun 11, 2019 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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.

All reactions
@plamut plamut added the api: pubsub Issues related to the Pub/Sub API. label Jun 11, 2019
@plamut
plamut requested a review from anguillanneuf as a code owner June 11, 2019 08:49
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jun 11, 2019
@plamut
plamut force-pushed the iss-4031 branch from e1dca68 to a57c9f1 Compare June 11, 2019 09:22
plamut
plamut commented Jun 11, 2019
View reviewed changes
Comment thread pubsub/tests/system.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@plamut plamut added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 12, 2019
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 12, 2019
@plamut
plamut force-pushed the iss-4031 branch from 7f682ab to de3de6a Compare June 12, 2019 10:33
@yoshi-automation yoshi-automation added the 🚨 This issue needs some love. label Jun 18, 2019
plamut added 6 commits June 20, 2019 15:32
@plamut
Add system tests for listing topics, subscriptions
91622a9
@plamut
Add system test for listing topic's subscriptions
70dc7aa
@plamut
Add system test for using PubSub snapshots
3cb7351
@plamut
Add PubSub system tests for managing IAM policy
5cf148f
@plamut
Add test for creating non-default subscriptions
3545b17
@plamut
Remove flaky PubSub snapshots system test
3c13d50
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.
@plamut
plamut force-pushed the iss-4031 branch from de3de6a to 3c13d50 Compare June 20, 2019 13:33
anguillanneuf
anguillanneuf approved these changes Jun 20, 2019
View reviewed changes

@anguillanneuf anguillanneuf left a comment

Copy link
Copy Markdown
Contributor

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.

LGTM!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@plamut
plamut merged commit ac31bcf into googleapis:master Jun 21, 2019
parthea pushed a commit that referenced this pull request Mar 2, 2026
@plamut
PubSub: Add system tests for PubSub clients (#8277)
9adc8b4
* 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@anguillanneuf anguillanneuf anguillanneuf approved these changes
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.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Missing system tests after pubsub redesign

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@plamut @anguillanneuf @googlebot @yoshi-automation @yoshi-kokoro
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.