Skip to content

Commit

Permalink
Reduce number of docs in randomized testing for logsdb (#120451) (#12…
Browse files Browse the repository at this point in the history
…0452)

Related to #120432
  • Loading branch information
kkrik-es authored Jan 20, 2025
1 parent 9560e6b commit 9c37e46
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ protected static void waitForLogs(RestClient client) throws Exception {
}

public void testMatchAllQuery() throws IOException {
int numberOfDocuments = ESTestCase.randomIntBetween(20, 100);
int numberOfDocuments = ESTestCase.randomIntBetween(20, 80);
final List<XContentBuilder> documents = generateDocuments(numberOfDocuments);

indexDocuments(documents);
Expand All @@ -199,7 +199,7 @@ public void testMatchAllQuery() throws IOException {
}

public void testTermsQuery() throws IOException {
int numberOfDocuments = ESTestCase.randomIntBetween(20, 100);
int numberOfDocuments = ESTestCase.randomIntBetween(20, 80);
final List<XContentBuilder> documents = generateDocuments(numberOfDocuments);

indexDocuments(documents);
Expand All @@ -217,7 +217,7 @@ public void testTermsQuery() throws IOException {
}

public void testHistogramAggregation() throws IOException {
int numberOfDocuments = ESTestCase.randomIntBetween(20, 100);
int numberOfDocuments = ESTestCase.randomIntBetween(20, 80);
final List<XContentBuilder> documents = generateDocuments(numberOfDocuments);

indexDocuments(documents);
Expand All @@ -235,7 +235,7 @@ public void testHistogramAggregation() throws IOException {
}

public void testTermsAggregation() throws IOException {
int numberOfDocuments = ESTestCase.randomIntBetween(20, 100);
int numberOfDocuments = ESTestCase.randomIntBetween(20, 80);
final List<XContentBuilder> documents = generateDocuments(numberOfDocuments);

indexDocuments(documents);
Expand All @@ -253,7 +253,7 @@ public void testTermsAggregation() throws IOException {
}

public void testDateHistogramAggregation() throws IOException {
int numberOfDocuments = ESTestCase.randomIntBetween(20, 100);
int numberOfDocuments = ESTestCase.randomIntBetween(20, 80);
final List<XContentBuilder> documents = generateDocuments(numberOfDocuments);

indexDocuments(documents);
Expand All @@ -271,7 +271,7 @@ public void testDateHistogramAggregation() throws IOException {
}

public void testEsqlSource() throws IOException {
int numberOfDocuments = ESTestCase.randomIntBetween(20, 100);
int numberOfDocuments = ESTestCase.randomIntBetween(20, 80);
final List<XContentBuilder> documents = generateDocuments(numberOfDocuments);

indexDocuments(documents);
Expand All @@ -287,7 +287,7 @@ public void testEsqlSource() throws IOException {
}

public void testEsqlTermsAggregation() throws IOException {
int numberOfDocuments = ESTestCase.randomIntBetween(20, 100);
int numberOfDocuments = ESTestCase.randomIntBetween(20, 80);
final List<XContentBuilder> documents = generateDocuments(numberOfDocuments);

indexDocuments(documents);
Expand All @@ -302,7 +302,7 @@ public void testEsqlTermsAggregation() throws IOException {
}

public void testEsqlTermsAggregationByMethod() throws IOException {
int numberOfDocuments = ESTestCase.randomIntBetween(20, 100);
int numberOfDocuments = ESTestCase.randomIntBetween(20, 80);
final List<XContentBuilder> documents = generateDocuments(numberOfDocuments);

indexDocuments(documents);
Expand Down

0 comments on commit 9c37e46

Please sign in to comment.