mirror of
https://github.com/apache/lucene.git
synced 2025-02-21 17:46:28 +00:00
SOLR-4601: clean up test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457591 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6ff405d99f
commit
d2275c3145
@ -163,9 +163,6 @@ public class CollectionsAPIDistributedZkTest extends AbstractFullDistribZkTestBa
|
||||
createCmd.setDataDir(dataDir);
|
||||
createCmd.setNumShards(2);
|
||||
createNewSolrServer("", baseUrl).request(createCmd);
|
||||
|
||||
printLayout();
|
||||
|
||||
|
||||
ModifiableSolrParams params = new ModifiableSolrParams();
|
||||
params.set("action", CollectionAction.DELETE.toString());
|
||||
@ -175,14 +172,9 @@ public class CollectionsAPIDistributedZkTest extends AbstractFullDistribZkTestBa
|
||||
|
||||
NamedList<Object> resp = createNewSolrServer("", baseUrl).request(request);
|
||||
|
||||
|
||||
Thread.sleep(5000);
|
||||
|
||||
printLayout();
|
||||
|
||||
checkForMissingCollection(collectionName);
|
||||
|
||||
// now creating that collection should work
|
||||
// try a bad action
|
||||
params = new ModifiableSolrParams();
|
||||
params.set("action", CollectionAction.CREATE.toString());
|
||||
params.set("name", collectionName);
|
||||
|
Loading…
x
Reference in New Issue
Block a user