diff --git a/server/src/test/java/org/elasticsearch/index/query/IntervalQueryBuilderTests.java b/server/src/test/java/org/elasticsearch/index/query/IntervalQueryBuilderTests.java index ed28a06500d..cfcc1a9cd3e 100644 --- a/server/src/test/java/org/elasticsearch/index/query/IntervalQueryBuilderTests.java +++ b/server/src/test/java/org/elasticsearch/index/query/IntervalQueryBuilderTests.java @@ -86,7 +86,7 @@ public class IntervalQueryBuilderTests extends AbstractQueryTestCase 3) { + if (depth > 2) { return createRandomMatch(depth + 1, useScripts); } switch (randomInt(20)) {