Skip to content

test(spanner): run the inline-begin-fallback test also on real Spanner#5789

Merged
olavloite merged 3 commits into
googleapis:mainfrom
olavloite:spanner-inline-begin-fallback-test-on-real-spanner
May 29, 2026
Merged

test(spanner): run the inline-begin-fallback test also on real Spanner#5789
olavloite merged 3 commits into
googleapis:mainfrom
olavloite:spanner-inline-begin-fallback-test-on-real-spanner

Conversation

@olavloite
Copy link
Copy Markdown
Contributor

Enable the integration test inline-begin-fallback to also run on real Spanner, instead of only the emulator.

Fixes #5682

Enable the integration test inline-begin-fallback to also run on real Spanner, instead
of only the emulator.

Fixes googleapis#5682
@olavloite olavloite requested review from a team as code owners May 29, 2026 14:56
@product-auto-label product-auto-label Bot added the api: spanner Issues related to the Spanner API. label May 29, 2026
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

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 PassThroughProxy and test files to support running tests against both the Spanner emulator and real Spanner, enabling TLS configuration and dynamic project/instance resolution. Feedback on the changes highlights a compilation error due to a non-existent with_enabled_roots() method on ClientTlsConfig, and suggests safely skipping the inline_begin_fallback test if the real Spanner configuration is missing to prevent test failures.

Comment thread tests/spanner/src/query.rs Outdated
Comment thread tests/spanner/src/query.rs
@codecov
Copy link
Copy Markdown

codecov Bot commented May 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.87%. Comparing base (f075cec) to head (6702c1f).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5789      +/-   ##
==========================================
- Coverage   97.87%   97.87%   -0.01%     
==========================================
  Files         226      226              
  Lines       56496    56496              
==========================================
- Hits        55298    55297       -1     
- Misses       1198     1199       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor

@alvarowolfx alvarowolfx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a nit on mut vars

Comment thread tests/spanner/src/query.rs Outdated
Comment thread tests/spanner/src/query.rs
@olavloite olavloite enabled auto-merge (squash) May 29, 2026 17:02
@olavloite olavloite merged commit bf54043 into googleapis:main May 29, 2026
40 checks passed
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 Spanner API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable inline_begin_fallback integration test for real Spanner

3 participants