Skip to content

Commit 355efcb

Browse files
committed
Put back getaddrinfo max calls in test
1 parent 782b682 commit 355efcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/mongo/server_selection_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
context(spec.description) do
1212

1313
before do
14-
allow(::Socket).to receive(:getaddrinfo).at_most(10).times.
14+
allow(::Socket).to receive(:getaddrinfo).at_most(5).times.
1515
and_return([[nil,nil,nil,nil,::Socket::AF_INET]])
1616
end
1717

0 commit comments

Comments
 (0)