@@ -181,7 +181,7 @@ protected static void waitForLogs(RestClient client) throws Exception {
181181 }
182182
183183 public void testMatchAllQuery () throws IOException {
184- int numberOfDocuments = ESTestCase .randomIntBetween (100 , 200 );
184+ int numberOfDocuments = ESTestCase .randomIntBetween (20 , 100 );
185185 final List <XContentBuilder > documents = generateDocuments (numberOfDocuments );
186186
187187 indexDocuments (documents );
@@ -199,7 +199,7 @@ public void testMatchAllQuery() throws IOException {
199199 }
200200
201201 public void testTermsQuery () throws IOException {
202- int numberOfDocuments = ESTestCase .randomIntBetween (100 , 200 );
202+ int numberOfDocuments = ESTestCase .randomIntBetween (20 , 100 );
203203 final List <XContentBuilder > documents = generateDocuments (numberOfDocuments );
204204
205205 indexDocuments (documents );
@@ -217,7 +217,7 @@ public void testTermsQuery() throws IOException {
217217 }
218218
219219 public void testHistogramAggregation () throws IOException {
220- int numberOfDocuments = ESTestCase .randomIntBetween (100 , 200 );
220+ int numberOfDocuments = ESTestCase .randomIntBetween (20 , 100 );
221221 final List <XContentBuilder > documents = generateDocuments (numberOfDocuments );
222222
223223 indexDocuments (documents );
@@ -235,7 +235,7 @@ public void testHistogramAggregation() throws IOException {
235235 }
236236
237237 public void testTermsAggregation () throws IOException {
238- int numberOfDocuments = ESTestCase .randomIntBetween (100 , 200 );
238+ int numberOfDocuments = ESTestCase .randomIntBetween (20 , 100 );
239239 final List <XContentBuilder > documents = generateDocuments (numberOfDocuments );
240240
241241 indexDocuments (documents );
@@ -253,7 +253,7 @@ public void testTermsAggregation() throws IOException {
253253 }
254254
255255 public void testDateHistogramAggregation () throws IOException {
256- int numberOfDocuments = ESTestCase .randomIntBetween (100 , 200 );
256+ int numberOfDocuments = ESTestCase .randomIntBetween (20 , 100 );
257257 final List <XContentBuilder > documents = generateDocuments (numberOfDocuments );
258258
259259 indexDocuments (documents );
0 commit comments