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

Address flaky pubsub system tests #2086

Merged
merged 6 commits into from
Aug 16, 2016
Merged

Address flaky pubsub system tests #2086

merged 6 commits into from
Aug 16, 2016

Conversation

tseaver
Copy link
Contributor

@tseaver tseaver commented Aug 11, 2016

Toward #2077, #2079, #2080

@tseaver tseaver added testing api: pubsub Issues related to the Pub/Sub API. labels Aug 11, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Aug 11, 2016

hoover = Hoover()
retry = RetryInstanceState(hoover.done)
retry(hoover.suction)()

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@dhermes dhermes added the flaky label Aug 11, 2016
@@ -267,8 +280,9 @@ def test_fetch_delete_subscription_w_deleted_topic(self):
def _no_topic(instance):
return instance.topic is None

retry = RetryInstanceState(_no_topic, max_tries=6)
retry(orphaned.reload)()
# Wait for the topic to clear: up to 63 seconds (2 ** 8 - 1)

This comment was marked as spam.

@tseaver
Copy link
Contributor Author

tseaver commented Aug 16, 2016

@dhermes I'm going to merge as is: I disagree that your formulation is clearer, and getting the fix in for the flaky test is way more important that our quibble.

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. cla: yes This human has signed the Contributor License Agreement. testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants