mirror of https://github.com/apache/lucene.git
SOLR-2631: fix test, example configs no longer allow qt param on ping
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1142730 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
18a095b43b
commit
457f9c4f42
|
@ -658,15 +658,6 @@ abstract public class SolrExampleTests extends SolrJettyTestBase
|
|||
// should be ok
|
||||
server.ping();
|
||||
|
||||
try {
|
||||
SolrPing ping = new SolrPing();
|
||||
ping.getParams().set( "qt", "unknown handler! ignore_exception" );
|
||||
ping.process( server );
|
||||
fail( "sent unknown query type!" );
|
||||
}
|
||||
catch( Exception ex ) {
|
||||
// expected
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue