Skip to content

Commit

Permalink
[container_registry] fix: bump the pubsub timeout [(#3698)](#3698)
Browse files Browse the repository at this point in the history
fixes #2894

Co-authored-by: Leah E. Cole <[email protected]>
  • Loading branch information
2 people authored and busunkim96 committed Aug 7, 2020
1 parent a98ded1 commit 84e07a8
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,10 @@ def test_pubsub(self):
time.sleep(SLEEP_TIME)
samples.delete_occurrence(basename(occ.name), PROJECT_ID)
time.sleep(SLEEP_TIME)
job_done.wait(timeout=60)
# We saw occational failure with 60 seconds timeout, so we bumped it
# to 180 seconds.
# See also: python-docs-samples/issues/2894
job_done.wait(timeout=180)
print('done. msg_count = {}'.format(receiver.msg_count))
assert message_count <= receiver.msg_count
finally:
Expand Down

0 comments on commit 84e07a8

Please sign in to comment.