Skip to content

[Pubsub] Test failure or possible flake #1465

@frankyn

Description

@frankyn

In which file did you encounter the issue?

In PR 1464

Did you change the file? If so, how?

I updated READMEs, but pubsub test failed.

Describe the issue

I'm unsure what the actual issue, but the Travis CI error:

=================================== FAILURES ===================================
_____________________ test_receive_with_custom_attributes ______________________
Traceback (most recent call last):
  File "/home/travis/build/GoogleCloudPlatform/python-docs-samples/pubsub/cloud-client/subscriber_test.py", line 174, in test_receive_with_custom_attributes
    assert 'Attributes' in out
AssertionError: assert 'Attributes' in 'Listening for messages on projects/python-docs-samples-tests/subscriptions/subscription-test-subscription\nReceived message: Message {\n  data: b\'Test message\'\n  attributes: {\n    "origin": "python-sample"\n  }\n}\n'
===================== 1 failed, 21 passed in 54.73 seconds =====================
nox > Command pytest --junitxml=sponge_log.xml -m not slow failed with exit code 1
nox > Session py36(sample='./pubsub/cloud-client') failed.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions