SOLR-6412: Speed up OverseerRolesTest for non nightly runs.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620140 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2014-08-24 14:40:21 +00:00
parent 985a2eb18d
commit b7617e4685
1 changed files with 2 additions and 5 deletions

View File

@ -31,8 +31,6 @@ import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.lucene.util.LuceneTestCase;
import org.apache.solr.SolrTestCaseJ4.SuppressSSL;
@ -52,7 +50,7 @@ import org.junit.Before;
import org.junit.BeforeClass;
@LuceneTestCase.Slow
@SuppressSSL // Currently unknown why SSL does not work
@SuppressSSL // See SOLR-5776
public class OverseerRolesTest extends AbstractFullDistribZkTestBase{
private CloudSolrServer client;
@ -84,7 +82,7 @@ public class OverseerRolesTest extends AbstractFullDistribZkTestBase{
fixShardCount = true;
sliceCount = 2;
shardCount = 6;
shardCount = TEST_NIGHTLY ? 6 : 2;
checkCreatedVsState = false;
}
@ -93,7 +91,6 @@ public class OverseerRolesTest extends AbstractFullDistribZkTestBase{
public void doTest() throws Exception {
testQuitCommand();
testOverseerRole();
}
private void testQuitCommand() throws Exception{