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:
Mark Robert Miller 2014-02-27 02:23:20 +00:00
parent 586bcac8cf
commit d98ee29e8e
2 changed files with 3 additions and 6 deletions

View File

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

View File

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