Apache Lucene open-source search software
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.
Erik Hatcher60766a8813eb
diff --git a/client/ruby/solrb/test/functional/server_test.rb b/client/ruby/solrb/test/functional/server_test.rbindex 378cfa45f5b..f1055375a43 100644--- a/client/ruby/solrb/test/functional/server_test.rb+++ b/client/ruby/solrb/test/functional/server_test.rb@@ -139,7 +139,7 @@ class ServerTest < Test::Unit::TestCaserequest = 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_messageenddef test_index_info