Skip to content

Commit 6346d90

Browse files
authored
chore: ignore tx warnings in pdml test (#653)
1 parent 81c154a commit 6346d90

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/mockserver_tests/test_basics.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,11 @@ def test_partitioned_dml(self):
218218
add_update_count(sql, 100, AutocommitDmlMode.PARTITIONED_NON_ATOMIC)
219219
engine = create_engine(
220220
"spanner:///projects/p/instances/i/databases/d",
221-
connect_args={"client": self.client, "pool": PingingPool(size=10)},
221+
connect_args={
222+
"client": self.client,
223+
"pool": PingingPool(size=10),
224+
"ignore_transaction_warnings": True,
225+
},
222226
)
223227
# TODO: Support autocommit_dml_mode as a connection variable in execution
224228
# options.

0 commit comments

Comments
 (0)