Skip to content

Conversation

@olavloite
Copy link
Collaborator

The Google Auth libraries have added support for mtls. A check for what type of MtlsProvider is available is executed multiple times every time a Spanner client is created, and this check is relatively expensive. This causes all mock server tests to become slow.

This change introduces a temporary hack to work around this, until we have a solution in the auth libraries that allow us to turn off this feature during tests that do not care about mtls.

The Google Auth libraries have added support for mtls. A check for what type
of MtlsProvider is available is executed multiple times every time a Spanner
client is created, and this check is relatively expensive. This causes all
mock server tests to become slow.

This change introduces a temporary hack to work around this, until we have a
solution in the auth libraries that allow us to turn off this feature during
tests that do not care about mtls.
@olavloite olavloite requested review from a team as code owners August 18, 2025 15:50
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: spanner Issues related to the googleapis/java-spanner API. labels Aug 18, 2025
@olavloite olavloite closed this Sep 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: spanner Issues related to the googleapis/java-spanner API. size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants