clean more test yml files
This commit is contained in:
parent
164df9979a
commit
aec5af3800
|
@ -1,7 +0,0 @@
|
|||
cluster:
|
||||
routing:
|
||||
schedule: 100ms
|
||||
index:
|
||||
number_of_shards: 5
|
||||
number_of_replicas: 1
|
||||
|
|
@ -59,6 +59,7 @@ public class IndexLifecycleActionTests extends AbstractNodesTests {
|
|||
Settings settings = settingsBuilder()
|
||||
.put(SETTING_NUMBER_OF_SHARDS, 11)
|
||||
.put(SETTING_NUMBER_OF_REPLICAS, 1)
|
||||
.put("cluster.routing.schedule", "20ms") // reroute every 20ms so we identify new nodes fast
|
||||
.build();
|
||||
|
||||
// start one server
|
||||
|
@ -192,6 +193,7 @@ public class IndexLifecycleActionTests extends AbstractNodesTests {
|
|||
Settings settings = settingsBuilder()
|
||||
.put(SETTING_NUMBER_OF_SHARDS, 11)
|
||||
.put(SETTING_NUMBER_OF_REPLICAS, 0)
|
||||
.put("cluster.routing.schedule", "20ms") // reroute every 20ms so we identify new nodes fast
|
||||
.build();
|
||||
|
||||
// start one server
|
||||
|
@ -325,6 +327,7 @@ public class IndexLifecycleActionTests extends AbstractNodesTests {
|
|||
Settings settings = settingsBuilder()
|
||||
.put(SETTING_NUMBER_OF_SHARDS, 11)
|
||||
.put(SETTING_NUMBER_OF_REPLICAS, 0)
|
||||
.put("cluster.routing.schedule", "20ms") // reroute every 20ms so we identify new nodes fast
|
||||
.build();
|
||||
|
||||
// start one server
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
cluster:
|
||||
routing:
|
||||
schedule: 100ms
|
||||
index:
|
||||
number_of_shards: 11
|
||||
number_of_replicas: 1
|
|
@ -22,6 +22,9 @@ package org.elasticsearch.test.integration.search.indicesboost;
|
|||
import org.elasticsearch.action.search.SearchResponse;
|
||||
import org.elasticsearch.action.search.SearchType;
|
||||
import org.elasticsearch.client.Client;
|
||||
import org.elasticsearch.cluster.metadata.IndexMetaData;
|
||||
import org.elasticsearch.common.settings.ImmutableSettings;
|
||||
import org.elasticsearch.common.settings.Settings;
|
||||
import org.elasticsearch.test.integration.AbstractNodesTests;
|
||||
import org.testng.annotations.AfterMethod;
|
||||
import org.testng.annotations.BeforeMethod;
|
||||
|
@ -44,7 +47,11 @@ public class SimpleIndicesBoostSearchTests extends AbstractNodesTests {
|
|||
|
||||
@BeforeMethod
|
||||
public void createNodes() throws Exception {
|
||||
startNode("server1");
|
||||
Settings nodeSettings = ImmutableSettings.settingsBuilder()
|
||||
.put(IndexMetaData.SETTING_NUMBER_OF_SHARDS, 1)
|
||||
.put(IndexMetaData.SETTING_NUMBER_OF_REPLICAS, 0)
|
||||
.build();
|
||||
startNode("server1", nodeSettings);
|
||||
client = getClient();
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
cluster:
|
||||
routing:
|
||||
schedule: 100ms
|
||||
index:
|
||||
number_of_shards: 1
|
||||
number_of_replicas: 0
|
|
@ -21,6 +21,9 @@ package org.elasticsearch.test.integration.search.scriptfilter;
|
|||
|
||||
import org.elasticsearch.action.search.SearchResponse;
|
||||
import org.elasticsearch.client.Client;
|
||||
import org.elasticsearch.cluster.metadata.IndexMetaData;
|
||||
import org.elasticsearch.common.settings.ImmutableSettings;
|
||||
import org.elasticsearch.common.settings.Settings;
|
||||
import org.elasticsearch.search.sort.SortOrder;
|
||||
import org.elasticsearch.test.integration.AbstractNodesTests;
|
||||
import org.testng.annotations.AfterMethod;
|
||||
|
@ -45,7 +48,11 @@ public class ScriptFilterSearchTests extends AbstractNodesTests {
|
|||
|
||||
@BeforeMethod
|
||||
public void createNodes() throws Exception {
|
||||
startNode("server1");
|
||||
Settings nodeSettings = ImmutableSettings.settingsBuilder()
|
||||
.put(IndexMetaData.SETTING_NUMBER_OF_SHARDS, 1)
|
||||
.put(IndexMetaData.SETTING_NUMBER_OF_REPLICAS, 0)
|
||||
.build();
|
||||
startNode("server1", nodeSettings);
|
||||
client = getClient();
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
cluster:
|
||||
routing:
|
||||
schedule: 100ms
|
||||
index:
|
||||
number_of_shards: 1
|
||||
number_of_replicas: 0
|
Loading…
Reference in New Issue