spec/integration/reconnect_spec.rb in mongo-2.18.0.beta1 vs spec/integration/reconnect_spec.rb in mongo-2.18.0
- old
+ new
@@ -71,10 +71,11 @@
expect(new_thread).to be_alive
end
end
context 'SRV monitor thread' do
+ require_external_connectivity
let(:uri) do
"mongodb+srv://test1.test.build.10gen.cc/?tls=#{SpecConfig.instance.ssl?}"
end
@@ -138,9 +139,10 @@
it_behaves_like 'recreates SRV monitor'
end
context 'in unknown topology' do
+ require_external_connectivity
# JRuby apparently does not implement non-blocking UDP I/O which is used
# by RubyDNS:
# NotImplementedError: recvmsg_nonblock is not implemented
fails_on_jruby