Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6148891

Browse filesBrowse files
authored
PYTHON-4303 Fix Unified Transaction Test Runner (mongodb#1568)
1 parent add6a30 commit 6148891
Copy full SHA for 6148891

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Open diff view settings
Collapse file

‎test/unified_format.py‎

Copy file name to clipboardExpand all lines: test/unified_format.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,8 +1062,8 @@ def maybe_skip_test(self, spec):
10621062
self.skipTest("PyMongo's open_download_stream does not cap the stream's lifetime")
10631063

10641064
if "unpin after TransientTransactionError error on" in spec["description"]:
1065-
if client_context.version[0] == 8:
1066-
self.skipTest("Skipping TransientTransactionError pending PYTHON-4182")
1065+
self.skipTest("Skipping TransientTransactionError pending PYTHON-4227")
1066+
10671067
if "unpin after non-transient error on abort" in spec["description"]:
10681068
if client_context.version[0] == 8:
10691069
self.skipTest("Skipping TransientTransactionError pending PYTHON-4182")
@@ -1252,7 +1252,7 @@ def kill_all_sessions(self):
12521252
clients = self.mongos_clients if self.mongos_clients else [self.client]
12531253
for client in clients:
12541254
try:
1255-
self.client.admin.command("killAllSessions", [])
1255+
client.admin.command("killAllSessions", [])
12561256
except OperationFailure:
12571257
# "operation was interrupted" by killing the command's
12581258
# own session.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.