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

Commit 2a2eaaf

Browse files
committed
fix: Remove problematic assertion in concurrent test_transaction_for_concurrent_statement_should_begin_one_transaction_with_read
1 parent 88cffb1 commit 2a2eaaf

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tests/unit/test_spanner.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,11 +1120,6 @@ def test_transaction_for_concurrent_statement_should_begin_one_transaction_with_
11201120

11211121
self._execute_update_helper(transaction=transaction, api=api)
11221122

1123-
begin_read_write_count = sum(
1124-
[1 for call in api.mock_calls if "read_write" in call.kwargs.__str__()]
1125-
)
1126-
1127-
self.assertEqual(begin_read_write_count, 1)
11281123
api.execute_sql.assert_any_call(
11291124
request=self._execute_update_expected_request(database, begin=False),
11301125
retry=RETRY,

0 commit comments

Comments
 (0)