Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Commit 8556c89

Browse files
committed
feat: Multiplexed sessions - Fix failing test_transaction_read_and_insert_then_rollback.
Signed-off-by: Taylor Curran <taylor.curran@improving.com>
1 parent 07179f4 commit 8556c89

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/system/test_session_api.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -701,12 +701,11 @@ def transaction_work(transaction):
701701

702702
if multiplexed_enabled:
703703
# With multiplexed sessions enabled:
704-
# - Batch operations still use regular sessions (GetSession)
704+
# - Batch operations use multiplexed sessions (GetSession)
705705
# - run_in_transaction uses regular sessions (GetSession)
706-
# - Snapshot (read-only) can use multiplexed sessions (CreateMultiplexedSession)
706+
# - Snapshot (read-only) re-use existing multiplexed sessions
707707
# Note: Session creation span may not appear if session is reused from pool
708708
expected_span_names = [
709-
"CloudSpanner.GetSession", # Batch operation
710709
"CloudSpanner.Batch.commit", # Batch commit
711710
"CloudSpanner.GetSession", # Transaction session
712711
"CloudSpanner.Transaction.read", # First read

0 commit comments

Comments
 (0)