Skip to content

Commit 34ab244

Browse files
ajdavisShaneHarvey
authored andcommitted
Obsolete workaround in test_transactions.py
1 parent 9eab962 commit 34ab244

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

test/test_transactions.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -233,11 +233,6 @@ def check_events(self, test, listener, session_ids):
233233
if actual_time is not None:
234234
expected_read_concern['afterClusterTime'] = actual_time
235235

236-
# TODO: Do not send writeConcern in transactions.
237-
if expectation[event_type]['command_name'] not in (
238-
'commitTransaction', 'abortTransaction'):
239-
expected_cmd.pop('writeConcern', None)
240-
241236
# Replace lsid with a name like "session0" to match test.
242237
if 'lsid' in event.command:
243238
for name, lsid in session_ids.items():

0 commit comments

Comments
 (0)