Subscription.pull(return_immedately=False, max_messages=2) returns immediately (See 'Subscription.pull(return_immedately=False, max_messages=2)' returns immediately :( #893 )
Missing ACK ID
== == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == ==
ERROR : test_message_pull_mode_e2e (pubsub .TestPubsub )
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Traceback (most recent call last ):
File "/home/travis/build/GoogleCloudPlatform/gcloud-python/system_tests/pubsub.py" , line 123 , in test_message_pull_mode_e2e
subscription .acknowledge (ack_ids )
File "/home/travis/build/GoogleCloudPlatform/gcloud-python/.tox/system-tests/lib/python2.7/site-packages/gcloud/pubsub/subscription.py" , line 230 , in acknowledge
method = 'POST' , path = '%s:acknowledge' % (self .path ,), data = data )
File "/home/travis/build/GoogleCloudPlatform/gcloud-python/.tox/system-tests/lib/python2.7/site-packages/gcloud/connection.py" , line 419 , in api_request
error_info = method + ' ' + url )
gcloud .exceptions .BadRequest : 400 You have not specified an ack ID in the request . (POST https :// pubsub .googleapis .com / v1 / projects / precise - truck - 742 / subscriptions / subscribing - now :acknowledge )
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
From:
https://travis-ci.org/GoogleCloudPlatform/gcloud-python/builds/75334450
https://travis-ci.org/GoogleCloudPlatform/gcloud-python/builds/77188348
https://travis-ci.org/GoogleCloudPlatform/gcloud-python/builds/77564743
https://travis-ci.org/GoogleCloudPlatform/gcloud-python/builds/94920686
Only one message returned
== == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == ==
ERROR : test_message_pull_mode_e2e (pubsub .TestPubsub )
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Traceback (most recent call last ):
File "/home/travis/build/GoogleCloudPlatform/gcloud-python/system_tests/pubsub.py" , line 129 , in test_message_pull_mode_e2e
message1 , message2 = sorted (messages , key = _by_timestamp )
ValueError : need more than 1 value to unpack
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
From:
https://travis-ci.org/GoogleCloudPlatform/gcloud-python/builds/77052107
https://travis-ci.org/GoogleCloudPlatform/gcloud-python/builds/98407178
Eventual Consistency Error
== == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == ==
FAIL : test_list_subscriptions (pubsub .TestPubsub )
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Traceback (most recent call last ):
File "/home/travis/build/GoogleCloudPlatform/gcloud-python/system_tests/pubsub.py" , line 100 , in test_list_subscriptions
self .assertEqual (len (created ), len (subscriptions_to_create ))
AssertionError : 2 != 3
== == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == == ==
FAIL : test_list_topics (pubsub .TestPubsub )
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Traceback (most recent call last ):
File "/home/travis/build/GoogleCloudPlatform/gcloud-python/system_tests/pubsub.py" , line 62 , in test_list_topics
self .assertEqual (len (created ), len (topics_to_create ))
AssertionError : 2 != 3
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ran 5 tests in 66.301 s
FAILED (failures = 2 )
From:
https://travis-ci.org/GoogleCloudPlatform/gcloud-python/builds/77600321
https://travis-ci.org/GoogleCloudPlatform/gcloud-python/builds/78109143
Subscription.pull(return_immedately=False, max_messages=2)returns immediately (See 'Subscription.pull(return_immedately=False, max_messages=2)' returns immediately :( #893)From:
From:
From: