reduce max replica in test to stabelize with low number of available nodes

This commit is contained in:
Simon Willnauer 2013-08-17 08:25:25 +02:00
parent 2db9c2df83
commit 1257109944
1 changed files with 1 additions and 1 deletions

View File

@ -1149,7 +1149,7 @@ public class SuggestSearchTests extends AbstractSharedClusterTest {
@Test // see #3469
public void testShardFailures() throws IOException, InterruptedException {
Builder builder = ImmutableSettings.builder();
builder.put("index.number_of_shards", between(1,5)).put("index.number_of_replicas", between(0,3));
builder.put("index.number_of_shards", between(1, 5)).put("index.number_of_replicas", between(0, 2));
builder.put("index.analysis.analyzer.suggest.tokenizer", "standard");
builder.putArray("index.analysis.analyzer.suggest.filter", "standard", "lowercase", "shingler");
builder.put("index.analysis.filter.shingler.type", "shingle");