Sporadic regression failure:
======================================================================ERROR: test_message_pull_mode_e2e (pubsub.TestPubsub)
----------------------------------------------------------------------Traceback (mostrecentcalllast):
File"/home/travis/build/GoogleCloudPlatform/gcloud-python/regression/pubsub.py", line123, intest_message_pull_mode_e2ereceived=subscription.pull(max_messages=2)
File"/home/travis/build/GoogleCloudPlatform/gcloud-python/.tox/regression3/lib/python3.4/site-packages/gcloud/pubsub/subscription.py", line191, inpullforinfoinresponse['receivedMessages']]
KeyError: 'receivedMessages'
AFAICT, this is actually a back-end bug -- we are passing the returnImmediately flag through correctly. @tmatsuo can you report it to the pubsub back-end team?
However, we should harden against the missing key in the response, for the case when returnImmediately is True, and there are no messages.
Sporadic regression failure:
AFAICT, this is actually a back-end bug -- we are passing the
returnImmediatelyflag through correctly. @tmatsuo can you report it to the pubsub back-end team?However, we should harden against the missing key in the response, for the case when
returnImmediatelyis True, and there are no messages.