Skip to content

test(spanner): unflake ITAutogeneratedAdminClientTest - #14603

Merged
sakthivelmanii merged 1 commit into
mainfrom
unflake-b571071629-pro
Oct 8, 2026
Merged

sakthivelmanii merged 1 commit into
mainfrom
unflake-b571071629-pro

Conversation

@sakthivelmanii

@sakthivelmanii sakthivelmanii commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

This fixes a timeout in roleWithNoPermissions and grantAndRevokeDatabaseRolePermissions where the Spanner DatabaseClient instance was not closed before dropping the role, causing the backend DROP ROLE DDL to block on active session pool connections.

@sakthivelmanii
sakthivelmanii requested review from a team as code owners October 8, 2026 04:36

@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 adds explicit calls to spanner.close() in the grantAndRevokeDatabaseRolePermissions and roleWithNoPermissions integration test methods within ITAutogeneratedAdminClientTest.java to ensure resources are properly cleaned up. There are no review comments, and I have no feedback to provide.

@sakthivelmanii
sakthivelmanii force-pushed the unflake-b571071629-pro branch 2 times, most recently from e02953a to ca05d31 Compare October 8, 2026 15:02
@sakthivelmanii sakthivelmanii added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 8, 2026
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 8, 2026
This fixes a timeout in roleWithNoPermissions and grantAndRevokeDatabaseRolePermissions where the spanner DatabaseClient instance was not closed before dropping the role, causing the backend DROP ROLE DDL to block on active session pool connections.
@sakthivelmanii
sakthivelmanii force-pushed the unflake-b571071629-pro branch from ca05d31 to 5d2b9da Compare October 8, 2026 15:49
@sakthivelmanii
sakthivelmanii enabled auto-merge (squash) October 8, 2026 16:04
@sakthivelmanii
sakthivelmanii merged commit d2bacbb into main Oct 8, 2026
205 of 206 checks passed
@sakthivelmanii
sakthivelmanii deleted the unflake-b571071629-pro branch October 8, 2026 16:38
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.

3 participants