File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/calendars Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -175,9 +175,6 @@ tests:
175175- class : org.elasticsearch.xpack.spatial.search.GeoGridAggAndQueryConsistencyIT
176176 method : testGeoShapeGeoHex
177177 issue : https://github.com/elastic/elasticsearch/issues/115705
178- - class : org.elasticsearch.xpack.core.ml.calendars.ScheduledEventTests
179- method : testBuild_SucceedsWithDefaultSkipResultAndSkipModelUpdatesValues
180- issue : https://github.com/elastic/elasticsearch/issues/115476
181178- class : org.elasticsearch.xpack.test.rest.XPackRestIT
182179 method : test {p0=transform/transforms_start_stop/Verify start transform reuses destination index}
183180 issue : https://github.com/elastic/elasticsearch/issues/115808
Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ private void validateScheduledEventSuccessfulBuild(
207207 String description = randomAlphaOfLength (10 );
208208 String calendarId = randomAlphaOfLength (10 );
209209 Instant startTime = Instant .ofEpochMilli (Instant .now ().toEpochMilli ());
210- Instant endTime = startTime .plusSeconds (randomInt ( 3600 ));
210+ Instant endTime = startTime .plusSeconds (randomIntBetween ( 1 , 3600 ));
211211
212212 ScheduledEvent .Builder builder = new ScheduledEvent .Builder ().description (description )
213213 .calendarId (calendarId )
You can’t perform that action at this time.
0 commit comments