Skip to content

chore: fix bigtable authorized view routing#17707

Draft
chalmerlowe wants to merge 1 commit into
mainfrom
fix/bigtable-authorized-view-routing
Draft

chore: fix bigtable authorized view routing#17707
chalmerlowe wants to merge 1 commit into
mainfrom
fix/bigtable-authorized-view-routing

Conversation

@chalmerlowe

Copy link
Copy Markdown
Contributor

Problem

Bigtable system tests were failing with timeout errors (DeadlineExceeded) when testing Authorized Views because a test helper (TempRowBuilder) was hardcoded to only use the table name, ignoring the view identifier.

Solution

Updated the test helper in the Bigtable package to dynamically use either the table name or the authorized view name depending on the test target by utilizing the internal _request_path property. This ensures requests are routed correctly to the intended target.

Notes to Reviewers

Note

Changes in the test_system_autogen.py file are auto-generated via CrossSync and are simply synchronous versions of the async tests in test_system_async.py. Comments related to the content of test_system_async.py will be automatically added to test_system_autogen.py

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the system tests in test_system_async.py and test_system_autogen.py to use self.target._request_path instead of self.target.table_name when constructing requests for adding rows, adding aggregate rows, and deleting rows. It also cleans up and reorders imports in both files. There are no review comments, so I have no feedback to provide.

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.

1 participant