SOLR-13650: precommit errors fixed

This commit is contained in:
noble 2019-08-20 11:48:56 +10:00
parent a12cf2f6d8
commit d51a33f58f
1 changed files with 2 additions and 1 deletions

View File

@ -67,6 +67,7 @@ import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import static java.nio.charset.StandardCharsets.UTF_8;
import static org.apache.solr.cloud.TestCryptoKeys.readFile;
import static org.apache.solr.common.params.CommonParams.JAVABIN;
import static org.apache.solr.common.params.CommonParams.WT;
@ -583,7 +584,7 @@ public class TestContainerReqHandler extends SolrCloudTestCase {
" \"initialSize\":\"512\" , \"package\":\"cache_pkg\"}}}}";
MiniSolrCloudCluster cluster = configureCluster(4)
.addConfig("conf", configset("cloud-minimal"),
Collections.singletonMap(ConfigOverlay.RESOURCE_NAME, overlay.getBytes()))
Collections.singletonMap(ConfigOverlay.RESOURCE_NAME, overlay.getBytes(UTF_8)))
.configure();
try {
String payload = "{add-package:{name : 'cache_pkg', url: 'http://localhost:" + port + "/jar1.jar', " +