diff --git a/test/connection_test.rb b/test/connection_test.rb index de2fe70..9b3599a 100644 --- a/test/connection_test.rb +++ b/test/connection_test.rb @@ -22,20 +22,19 @@ class TestConnection < Test::Unit::TestCase end end - def test_connection_timeout - passed = false - begin - t0 = Time.now - Mongo::Connection.new('192.169.169.1', 27017, :connect_timeout => 3) - rescue OperationTimeout - passed = true - t1 = Time.now - end - - assert passed - assert t1 - t0 < 4 - end + # def test_connection_timeout + # passed = false + # begin + # t0 = Time.now + # Mongo::Connection.new('foo.bar', 27017, :connect_timeout => 3) + # rescue OperationTimeout + # passed = true + # t1 = Time.now + # end + # assert passed + # assert t1 - t0 < 4 + # end def test_host_port_accessors assert_equal @conn.host, TEST_HOST