[TEST] Raise shardSize parameter if number of shards is > 5
This commit is contained in:
parent
045e43163f
commit
48f6df3f8e
|
@ -197,7 +197,7 @@ public class SimpleFacetsTests extends ElasticsearchIntegrationTest {
|
|||
.field("foo", "" + i)
|
||||
.endObject()).execute().actionGet();
|
||||
}
|
||||
int shardSize = numberOfShards() > 5 ? 20 : 10;
|
||||
int shardSize = getNumShards("test").numPrimaries > 5 ? 20 : 10;
|
||||
String[] execHint = new String[]{"map", null};
|
||||
for (String hint : execHint) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue