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:
Erik Hatcher 2007-01-25 14:31:40 +00:00
parent b85c0cbbd2
commit f027d99c6f
1 changed files with 1 additions and 1 deletions

View File

@ -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