spec/mongo/retryable_spec.rb in mongo-2.20.1 vs spec/mongo/retryable_spec.rb in mongo-2.21.0
- old
+ new
@@ -74,9 +74,10 @@
allow(session).to receive(:in_transaction?).and_return(false)
allow(session).to receive(:pinned_server)
allow(session).to receive(:pinned_connection_global_id)
allow(session).to receive(:starting_transaction?).and_return(false)
allow(session).to receive(:materialize)
+ allow(session).to receive(:with_transaction_deadline).and_return(nil)
end
end
def write_concern
nil