mirror of https://github.com/apache/lucene.git
SOLR-5476: Fix forbidden.
PLEASE RUN "ant precommit" (root) or alternatively the faster "ant check-forbidden-apis" (in your module folder) before committing! git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559043 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a8b5fe376a
commit
021b937b27
|
@ -35,6 +35,7 @@ import java.util.ArrayList;
|
|||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
|
@ -158,7 +159,7 @@ public class OverseerRolesTest extends AbstractFullDistribZkTestBase{
|
|||
private void setOverseerRole(CollectionAction action, String overseerDesignate) throws SolrServerException, IOException {
|
||||
log.info("Adding overseer designate {} ", overseerDesignate);
|
||||
Map m = makeMap(
|
||||
"action", action.toString().toLowerCase(),
|
||||
"action", action.toString().toLowerCase(Locale.ROOT),
|
||||
"role", "overseer",
|
||||
"node", overseerDesignate);
|
||||
SolrParams params = new MapSolrParams(m);
|
||||
|
|
Loading…
Reference in New Issue