Skip to content

Commit d18fc05

Browse files
Fix test failures
1 parent d58c55a commit d18fc05

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/mongo/retryable/write_worker_overload_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
instance_double(Mongo::Session).tap do |s|
2626
allow(s).to receive(:retry_writes?).and_return(true)
2727
allow(s).to receive(:in_transaction?).and_return(false)
28+
allow(s).to receive(:starting_transaction?).and_return(false)
2829
allow(s).to receive(:materialize_if_needed)
2930
allow(s).to receive(:txn_num).and_return(1)
3031
allow(s).to receive(:next_txn_num).and_return(2)

0 commit comments

Comments
 (0)