Skip to content

Commit cc4978f

Browse files
committed
(DELETE) Make subscription permission test fail
1 parent 19439b1 commit cc4978f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pubsub/google/cloud/pubsub_v1/subscriber/_protocol/streaming_pull_manager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,7 @@ def open(self, callback, on_callback_error):
403403
# the default stream ACK deadline should again be set based on the
404404
# historic ACK timing data, i.e. `self.ack_histogram.percentile(99)`.
405405
stream_ack_deadline_seconds = _DEFAULT_STREAM_ACK_DEADLINE
406+
self._client.api.get_subscription(self._subscription)
406407

407408
get_initial_request = functools.partial(
408409
self._get_initial_request, stream_ack_deadline_seconds

0 commit comments

Comments
 (0)