mirror of https://github.com/apache/lucene.git
Make test more lenient, as it seems Solr changed its error reporting format a bit to include
the full stack trace. Eventually I think the exception message and stack trace should be separated in the response so a client could pull out just the message easily. git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@504076 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
844f80c67d
commit
60766a8813
|
@ -139,7 +139,7 @@ class ServerTest < Test::Unit::TestCase
|
|||
request = Solr::Request::AddDocument.new(doc)
|
||||
response = @connection.send(request)
|
||||
assert_equal false, response.ok?
|
||||
assert_equal "ERROR:unknown field 'bogus'", response.status_message
|
||||
assert_match "ERROR:unknown field 'bogus'", response.status_message
|
||||
end
|
||||
|
||||
def test_index_info
|
||||
|
|
Loading…
Reference in New Issue