@@ -74,7 +74,7 @@ public class DateHistogramGroupSourceTests extends AbstractResponseTestCase<
dateHistogramGroupSource = new DateHistogramGroupSource(
field,
scriptConfig,
- new DateHistogramGroupSource.FixedInterval(new DateHistogramInterval(randomPositiveTimeValue())),
+ new DateHistogramGroupSource.FixedInterval(new DateHistogramInterval(randomTimeValue(1, 100, "d", "h", "ms", "s", "m"))),
randomBoolean() ? randomZone() : null
);
} else {