mirror of https://github.com/apache/lucene.git
SOLR-5776: Suppress SSL
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572408 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
586bcac8cf
commit
d98ee29e8e
|
@ -183,11 +183,7 @@ public class MapReduceIndexerTool extends Configured implements Tool {
|
|||
.action(new HelpArgumentAction() {
|
||||
@Override
|
||||
public void run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value) throws ArgumentParserException {
|
||||
try {
|
||||
parser.printHelp(new PrintWriter(new OutputStreamWriter(System.out, "UTF-8")));
|
||||
} catch (UnsupportedEncodingException e) {
|
||||
throw new RuntimeException("Won't Happen for UTF-8");
|
||||
}
|
||||
parser.printHelp();
|
||||
System.out.println();
|
||||
System.out.print(ToolRunnerHelpFormatter.getGenericCommandUsage());
|
||||
//ToolRunner.printGenericCommandUsage(System.out);
|
||||
|
|
|
@ -17,10 +17,10 @@
|
|||
|
||||
package org.apache.solr.client.solrj.embedded;
|
||||
|
||||
import org.apache.solr.SolrTestCaseJ4.SuppressSSL;
|
||||
import org.apache.solr.client.solrj.SolrExampleTests;
|
||||
import org.apache.solr.client.solrj.impl.HttpSolrServer;
|
||||
import org.apache.solr.util.ExternalPaths;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
|
@ -31,6 +31,7 @@ import org.junit.Test;
|
|||
* rather then open a real connection?
|
||||
*
|
||||
*/
|
||||
@SuppressSSL(bugUrl = "https://issues.apache.org/jira/browse/SOLR-5776")
|
||||
public class SolrExampleJettyTest extends SolrExampleTests {
|
||||
|
||||
@BeforeClass
|
||||
|
|
Loading…
Reference in New Issue