From 1e09263d3a79992320f1916ef68717f85072876d Mon Sep 17 00:00:00 2001 From: Bu Sun Kim Date: Fri, 10 Apr 2020 19:25:27 +0000 Subject: [PATCH 1/2] Update dependency google-cloud-pubsub to v1.4.2 in Storage and Pub/Sub --- pubsub/cloud-client/requirements.txt | 2 +- storage/cloud-client/requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pubsub/cloud-client/requirements.txt b/pubsub/cloud-client/requirements.txt index cc192f6f7c5..fbfc0f4d395 100644 --- a/pubsub/cloud-client/requirements.txt +++ b/pubsub/cloud-client/requirements.txt @@ -1 +1 @@ -google-cloud-pubsub==1.3.0 +google-cloud-pubsub==1.4.2 diff --git a/storage/cloud-client/requirements.txt b/storage/cloud-client/requirements.txt index 05d4d995b84..24a4d8ae73c 100644 --- a/storage/cloud-client/requirements.txt +++ b/storage/cloud-client/requirements.txt @@ -1,2 +1,2 @@ -google-cloud-pubsub==1.1.0 +google-cloud-pubsub==1.4.2 google-cloud-storage==1.27.0 From d1c1c460f3fbe627da237f547dfc9ded2001706d Mon Sep 17 00:00:00 2001 From: Leah Cole Date: Fri, 24 Apr 2020 12:05:29 -0700 Subject: [PATCH 2/2] update message params --- storage/cloud-client/notification_polling_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/cloud-client/notification_polling_test.py b/storage/cloud-client/notification_polling_test.py index 0f8329fbe98..692f2d6ce19 100644 --- a/storage/cloud-client/notification_polling_test.py +++ b/storage/cloud-client/notification_polling_test.py @@ -42,7 +42,7 @@ def test_parse_json_message(): b"}" ) message = Message( - mock.Mock(data=data, attributes=attributes), MESSAGE_ID, mock.Mock() + mock.Mock(data=data, attributes=attributes), MESSAGE_ID, delivery_attempt=0, request_queue=mock.Mock() ) assert summarize(message) == ( "\tEvent type: OBJECT_FINALIZE\n"