Skip to content

tests(Bigtable): Fix conformance test failures - #15932

Merged
amanda-tarafa merged 2 commits into
googleapis:mainfrom
amanda-tarafa:fix-bigtable-conformance-mutaterows
Sep 23, 2026
Merged

amanda-tarafa merged 2 commits into
googleapis:mainfrom
amanda-tarafa:fix-bigtable-conformance-mutaterows

Conversation

@amanda-tarafa

Copy link
Copy Markdown
Contributor

No description provided.

@product-auto-label product-auto-label Bot added the api: bigtable Issues related to the Bigtable API. label Sep 23, 2026

@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 refactors the conformance test proxy implementation and its execution script. In CloudBigtableV2TestProxyImpl.cs, the BulkMutateRows method is updated to properly filter failed entries and set the overall status based on the first failure. In bigtable-conformance.sh, the script is cleaned up to run the proxy in the background and clean it up on exit. Feedback includes adding a null check for entry.Status to prevent a potential NullReferenceException and avoiding the redirection of standard error to /dev/null in the script's cleanup trap.

@amanda-tarafa
amanda-tarafa force-pushed the fix-bigtable-conformance-mutaterows branch from 492cba3 to f83bc9e Compare September 23, 2026 17:24
@amanda-tarafa

Copy link
Copy Markdown
Contributor Author

/gemini review

@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 BulkMutateRows implementation in the C# conformance test proxy to correctly filter and report failed entries, and refactors the bigtable-conformance.sh script to improve process management and run previously skipped tests. Feedback on the changes highlights a potential NullReferenceException when accessing entry.Status and suggests cloning the status object to avoid shared mutable state.

@amanda-tarafa
amanda-tarafa marked this pull request as ready for review September 23, 2026 17:35
@amanda-tarafa
amanda-tarafa requested review from a team as code owners September 23, 2026 17:35
@amanda-tarafa

Copy link
Copy Markdown
Contributor Author

This is ready for review, one commit at a time.

Fixes b/563376582.

@efevans efevans 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.

Generally LGTM, was the root issue that the request used to throw and exception but that changed due to an upstream?

@amanda-tarafa

Copy link
Copy Markdown
Contributor Author

Generally LGTM, was the root issue that the request used to throw and exception but that changed due to an upstream?

Nope, that these two tests that failed are new (from September 18) and are the only ones that are checking the error code. I just pasted the whole explanation on the internal issue.

@amanda-tarafa
amanda-tarafa merged commit e8ce4d0 into googleapis:main Sep 23, 2026
21 checks passed
@amanda-tarafa
amanda-tarafa deleted the fix-bigtable-conformance-mutaterows branch September 23, 2026 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigtable Issues related to the Bigtable API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants