mirror of https://github.com/apache/lucene.git
fix test that fails on zones server by replacing reference to localhost with 127.0.0.1
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@499804 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b85c0cbbd2
commit
f027d99c6f
|
@ -51,7 +51,7 @@ class ServerTest < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
def test_bad_connection
|
||||
conn = Solr::Connection.new 'http://localhost:9999/invalid'
|
||||
conn = Solr::Connection.new 'http://127.0.0.1:9999/invalid'
|
||||
assert_raise(Errno::ECONNREFUSED) do
|
||||
conn.send(Solr::Request::Ping.new)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue