Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6fb9e1 commit 6bed007Copy full SHA for 6bed007
container_registry/container_analysis/samples_test.py
@@ -175,7 +175,10 @@ def test_pubsub(self):
175
time.sleep(SLEEP_TIME)
176
samples.delete_occurrence(basename(occ.name), PROJECT_ID)
177
178
- job_done.wait(timeout=60)
+ # We saw occational failure with 60 seconds timeout, so we bumped it
179
+ # to 180 seconds.
180
+ # See also: python-docs-samples/issues/2894
181
+ job_done.wait(timeout=180)
182
print('done. msg_count = {}'.format(receiver.msg_count))
183
assert message_count <= receiver.msg_count
184
finally:
0 commit comments