Skip to content

Commit 44be47c

Browse files
authored
[9.2] Fix date range in DownsampleIT test (#136930) (#136934)
Manual backport of #136930
1 parent 5f6fa9f commit 44be47c

File tree

1 file changed

+1
-1
lines changed
  • x-pack/plugin/downsample/src/internalClusterTest/java/org/elasticsearch/xpack/downsample

1 file changed

+1
-1
lines changed

x-pack/plugin/downsample/src/internalClusterTest/java/org/elasticsearch/xpack/downsample/DownsampleIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ public void testPartialNullMetricsAfterDownsampling() throws Exception {
322322
bulkIndex(dataStreamName, sourceSupplier, 100);
323323
// And index documents with values
324324
sourceSupplier = () -> {
325-
String ts = randomDateForRange(now.minusSeconds(60 * 14).toEpochMilli(), now.plusSeconds(60 * 30).toEpochMilli());
325+
String ts = randomDateForRange(now.minusSeconds(60 * 14).toEpochMilli(), now.plusSeconds(60 * 29).toEpochMilli());
326326
try {
327327
return XContentFactory.jsonBuilder()
328328
.startObject()

0 commit comments

Comments
 (0)