Skip to content

test(spanner): fix flaky readUnmatchableTypesTest - #4542

Open
lqiu96 wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
lqiu96:fix-flaky-spanner-test
Open

test(spanner): fix flaky readUnmatchableTypesTest#4542
lqiu96 wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
lqiu96:fix-flaky-spanner-test

Conversation

@lqiu96

@lqiu96 lqiu96 commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

This PR rewrites the 'readUnmatchableTypesTest' to actually test unmatchable types instead of missing columns, resolving the flakiness caused by non-deterministic field reflection order.

@lqiu96
lqiu96 requested a review from a team as a code owner July 9, 2026 20:10
@lqiu96
lqiu96 force-pushed the fix-flaky-spanner-test branch from 888a708 to 5e0d909 Compare July 9, 2026 20:31
Rewrite the test to actually test unmatchable types by allowing missing columns and asserting on the conversion exception. This avoids the flakiness caused by non-deterministic field processing order when checking for missing columns.
@lqiu96
lqiu96 force-pushed the fix-flaky-spanner-test branch from 5e0d909 to 4ce7b15 Compare July 9, 2026 20:34
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