Skip to content

Speling: pass 'ack_deadline' as 'ackDeadlineSeconds' everywhere. - #1182

Merged
tseaver merged 2 commits into
googleapis:masterfrom
tseaver:1169-pubsub-fix_ack_deadline_in_json_payload
Oct 15, 2015
Merged

Speling: pass 'ack_deadline' as 'ackDeadlineSeconds' everywhere.#1182
tseaver merged 2 commits into
googleapis:masterfrom
tseaver:1169-pubsub-fix_ack_deadline_in_json_payload

Conversation

@tseaver

Copy link
Copy Markdown
Contributor

May fix#1169.

@tseavertseaver added the api: pubsub Issues related to the Pub/Sub API. label Oct 14, 2015
@googlebotgooglebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 14, 2015
@dhermes

Copy link
Copy Markdown
Contributor

Can you update the system tests to avoid this issue coming up again?

Also, can you link to a doc describing this parameter.

@tseaver

Copy link
Copy Markdown
ContributorAuthor

Can you update the system tests to avoid this issue coming up again?

I guess I could: we don't have anything like exhaustive coverage in the system tests, though.

Also, can you link to a doc describing this parameter.

https://cloud.google.com/pubsub/reference/rest/v1/projects.subscriptions#Subscription.FIELDS.ack_deadline_seconds

(note the irony that the ID for the table cell is closer to our spelling than to the one used in the actual API).

@dhermes

Copy link
Copy Markdown
Contributor

I think the reason our system tests were ever named regression tests was for reasons like the very bug that caused this.

Let's add one to make sure it doesn't come back.


How could we be more comprehensive? Should we?

@tseaver

Copy link
Copy Markdown
ContributorAuthor

Let's add one to make sure it doesn't come back.

543caaf adds that test.

How could we be more comprehensive? Should we?

Dunno: for instance, the other optional parameter to Subscription.create() is push_endpint, but we won't be able to exercise it without having an actual, approved URL.

@dhermes

Copy link
Copy Markdown
Contributor

Great! LGTM

(We have similar issues with Bigtable)

tseaver added a commit that referenced this pull request Oct 15, 2015
…_json_payload
Speling: pass 'ack_deadline' as 'ackDeadlineSeconds' everywhere.
@tseaver
tseaver merged commit eb3d390 into googleapis:masterOct 15, 2015
@tseaver
tseaver deleted the 1169-pubsub-fix_ack_deadline_in_json_payload branch October 15, 2015 02:08
@dhermesdhermes mentioned this pull request Jan 25, 2016
parthea pushed a commit that referenced this pull request Nov 26, 2025
#1182)
* fix: udpated the lower bound of interactive timeout and fix the kwargs invalid syntax
* update token
* update token
* prohibit the access from constructor and only allow the injection and test
* fix lint
* adding interactive timeout validation test
* update token
parthea pushed a commit that referenced this pull request Mar 2, 2026
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Mar 9, 2026
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Mar 9, 2026
* chore(main): release 3.49.0
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
---------
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: pubsubIssues related to the Pub/Sub API.cla: yesThis human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PubSub subscription with ack_deadline set causes HTTP 400

3 participants

@tseaver@dhermes@googlebot