Skip to content

chore(bigquery): stop table acceptance tests hitting table update rate limits - #36768

Open
torreypayne wants to merge 1 commit into
mainfrom
chore/bigquery-table-rate-limit-flake
Open

torreypayne wants to merge 1 commit into
mainfrom
chore/bigquery-table-rate-limit-flake

Conversation

@torreypayne

Copy link
Copy Markdown
Member

Six tests in table_test.rb create, update and delete tables under two fixed table IDs (schema_kittens and table_schema_test). Run back to back, they exceed BigQuery's limit of five table metadata update operations per 10 seconds per table and fail with rateLimitExceeded; when the failing call is the cleanup delete, the leaked table then breaks the next test with AlreadyExists. This failed the nightly acceptance job on 2026-11-10 and 2026-12-01.

Give each of these tests its own table ID.

Reproduced the rate-limit error locally before the change; the same tests pass on Ruby 3.2 and 4.0 after it.

Related to b/552162906.

@torreypayne
torreypayne added this pull request to stack #36770 December 2, 2026 19:42
@torreypayne
torreypayne force-pushed the chore/bigquery-table-rate-limit-flake branch from 94df3fe to 2e59b9d Compare December 3, 2026 00:48
@torreypayne
torreypayne marked this pull request as ready for review December 3, 2026 00:48
@torreypayne
torreypayne requested review from a team and yoshi-approver as code owners December 3, 2026 00:48
@torreypayne torreypayne added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 3, 2026
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 3, 2026
@amanda-tarafa
amanda-tarafa force-pushed the chore/bigquery-table-rate-limit-flake branch 2 times, most recently from 3f23a91 to 24378f6 Compare December 3, 2026 03:59
Base automatically changed from chore/storage-ubla-acl-flake to main December 3, 2026 04:34
@amanda-tarafa
amanda-tarafa requested a review from a team as a code owner December 3, 2026 04:34
…e limits

Six tests in table_test.rb created, updated and deleted tables under
two fixed table IDs (schema_kittens and table_schema_test). When
Minitest ran them back to back, they exceeded BigQuery's limit of five
table metadata update operations per 10 seconds per table, and a failed
cleanup delete leaked the table for the next test. Give each test its
own table ID.
@amanda-tarafa
amanda-tarafa force-pushed the chore/bigquery-table-rate-limit-flake branch from 24378f6 to 87a1d90 Compare December 3, 2026 04:34

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants