Skip to content

test(spanner): fix built-in metrics emulator unit test - #14255

Merged
rahul2393 merged 1 commit into
mainfrom
fix-emulator-built-in-test
Sep 3, 2026
Merged

rahul2393 merged 1 commit into
mainfrom
fix-emulator-built-in-test

Conversation

@rahul2393

Copy link
Copy Markdown
Contributor

No description provided.

@rahul2393
rahul2393 requested review from a team as code owners September 3, 2026 10:37

@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 BuiltInOpenTelemetryMetricsProviderTest.java by explicitly setting the emulator host to null when building SpannerOptions for testing. This prevents the builder from picking up the SPANNER_EMULATOR_HOST environment variable, which would otherwise replace the test credentials with NoCredentials and disable built-in metrics. There are no review comments, and I have no feedback to provide.

@rahul2393 rahul2393 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 3, 2026
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 3, 2026
@rahul2393
rahul2393 merged commit 779117a into main Sep 3, 2026
204 checks passed
@rahul2393
rahul2393 deleted the fix-emulator-built-in-test branch September 3, 2026 11:58
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