Skip to content

Pubsub unit test hangs intermittently #5252

@tseaver

Description

@tseaver

See: https://circleci.com/gh/GoogleCloudPlatform/google-cloud-python/6432

if [[ -n $(grep pubsub ~/target_packages) ]]; then
  nox -f pubsub/nox.py
fi

nox > Running session default
nox > virtualenv /var/code/gcp/.nox/default
nox > chdir /var/code/gcp/pubsub
nox > pip install --upgrade mock pytest pytest-cov ../api_core ../core
nox > pip install --upgrade -e .
nox > py.test --quiet --cov-append --cov-report= --cov=google.cloud.pubsub --cov=google.cloud.pubsub_v1 --cov-config=.coveragerc tests/unit
........................................................................ [ 28%]
........................................................................ [ 57%]
........................................................................ [ 86%]
..................................                                       [100%]


250 passed in 4.14 seconds
nox > Session default successful. :)
nox > Running session unit(py='2.7')
nox > virtualenv /var/code/gcp/.nox/unit-2-7 -p python2.7
nox > chdir /var/code/gcp/pubsub
nox > pip install --upgrade mock pytest pytest-cov ../api_core ../core
nox > pip install --upgrade -e .
nox > py.test --quiet --cov-append --cov-report= --cov=google.cloud.pubsub --cov=google.cloud.pubsub_v1 --cov-config=.coveragerc tests/unit
........................................................................ [ 28%]
...............................................................Too long with no output (exceeded 10m0s)

Metadata

Metadata

Assignees

Labels

api: pubsubIssues related to the Pub/Sub API.flakypriority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.testingtype: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions