Skip to content

Commit d7da033

Browse files
authored
Fix date range in DownsampleIT test (#136930)
Went outside the range whoopsy Resolves #136914
1 parent 997e92c commit d7da033

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -564,9 +564,6 @@ tests:
564564
- class: org.elasticsearch.compute.aggregation.MedianAbsoluteDeviationIntAggregatorFunctionTests
565565
method: testSimpleSmallInput
566566
issue: https://github.com/elastic/elasticsearch/issues/136905
567-
- class: org.elasticsearch.xpack.downsample.DownsampleIT
568-
method: testPartialNullMetricsAfterDownsampling
569-
issue: https://github.com/elastic/elasticsearch/issues/136914
570567
- class: org.elasticsearch.xpack.esql.qa.mixed.FieldExtractorIT
571568
method: testTextFieldWithIpSubfieldMalformed {STORED}
572569
issue: https://github.com/elastic/elasticsearch/issues/136917

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
@@ -310,7 +310,7 @@ public void testPartialNullMetricsAfterDownsampling() throws Exception {
310310
bulkIndex(dataStreamName, sourceSupplier, 100);
311311
// And index documents with values
312312
sourceSupplier = () -> {
313-
String ts = randomDateForRange(now.minusSeconds(60 * 14).toEpochMilli(), now.plusSeconds(60 * 30).toEpochMilli());
313+
String ts = randomDateForRange(now.minusSeconds(60 * 14).toEpochMilli(), now.plusSeconds(60 * 29).toEpochMilli());
314314
try {
315315
return XContentFactory.jsonBuilder()
316316
.startObject()

0 commit comments

Comments
 (0)