Skip to content

Commit 44ff2de

Browse files
authored
Reduce the number of clauses used in interval query tests (#137958)
1 parent d85e795 commit 44ff2de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/test/java/org/elasticsearch/index/query/IntervalQueryBuilderTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ static IntervalsSourceProvider.Disjunction createRandomDisjunction(int depth, bo
111111
}
112112

113113
static IntervalsSourceProvider.Combine createRandomCombine(int depth, boolean useScripts) {
114-
int count = randomInt(5) + 1;
114+
int count = randomInt(4) + 1;
115115
List<IntervalsSourceProvider> subSources = createRandomSourceList(depth, useScripts, count);
116116
boolean ordered = randomBoolean();
117117
int maxGaps = randomInt(5) - 1;

0 commit comments

Comments
 (0)