test(bigquerystorage): increase await timeout for createReadSession to 1 minute - #14125
Open
lqiu96 wants to merge 2 commits into
Open
test(bigquerystorage): increase await timeout for createReadSession to 1 minute#14125lqiu96 wants to merge 2 commits into
lqiu96 wants to merge 2 commits into
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request increases the await timeout from 10 seconds to 1 minute in the integration tests for both v1beta1 and v1beta2 BigQuery Storage clients, specifically within the ProcessRowsAtSnapshot helper method. This change allows more time for newly-created tables to propagate. There are no review comments, and I have no feedback to provide.
lqiu96
force-pushed
the
auto_repair_sponge_failure
branch
from
August 19, 2026 18:33
12bee0b to
b2327e7
Compare
whowes
approved these changes
Aug 19, 2026
lqiu96
enabled auto-merge (squash)
August 19, 2026 18:58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Increases the
await()timeout to 1 minute inITBigQueryStorageTest(v1beta1, v1beta2) and adds the 1-minute retry logic to the production v1 test helper (Helper.processRowsAtSnapshot) when creating read sessions.Context
In CI environments, table metadata propagation from
bigquery.googleapis.comtobigquerystorage.googleapis.comcan take longer than 10 seconds, causingConditionTimeoutExceptionorNotFoundExceptiontest flakes (e.g., insponge/b1dc622b-9c70-41cb-953e-74c2dfbb3f31).Setting a 1-minute retry ceiling:
job.waitFor(..., RetryOption.totalTimeoutDuration(Duration.ofMinutes(1)))).await()returns immediately upon session creation.