@@ -428,19 +428,19 @@ void testParseScheduleWithSeed_NullSeed_ReturnsEmpty() {
428428 Range .of (Instant .parse ("2024-01-01T00:00:00Z" ), Instant .parse ("2024-01-01T01:00:00Z" ))
429429 );
430430
431- List <Range <Instant >> result = RandomSchedulerUtils .parseScheduleWithSeed (null , ranges , 600 );
431+ List <Range <Instant >> result = RandomSchedulerUtils .parseScheduleWithSeed (null , ranges , 600L );
432432 assertEquals (Collections .emptyList (), result );
433433 }
434434
435435 @ Test
436436 void testParseScheduleWithSeed_NullRanges_ReturnsEmpty () {
437- List <Range <Instant >> result = RandomSchedulerUtils .parseScheduleWithSeed (123L , null , 600 );
437+ List <Range <Instant >> result = RandomSchedulerUtils .parseScheduleWithSeed (123L , null , 600L );
438438 assertEquals (Collections .emptyList (), result );
439439 }
440440
441441 @ Test
442442 void testParseScheduleWithSeed_EmptyRanges_ReturnsEmpty () {
443- List <Range <Instant >> result = RandomSchedulerUtils .parseScheduleWithSeed (123L , Collections .emptyList (), 600 );
443+ List <Range <Instant >> result = RandomSchedulerUtils .parseScheduleWithSeed (123L , Collections .emptyList (), 600L );
444444 assertEquals (Collections .emptyList (), result );
445445 }
446446
@@ -479,7 +479,7 @@ void testParseScheduleWithSeed_OutputWithinWindowsAndCorrectDuration() {
479479 void testParseScheduleWithSeed_DurationDoesNotFit_FiltersOutRange () {
480480 // Window is only 5 minutes, duration is 10 minutes -> should be filtered out
481481 Range <Instant > smallWindow = Range .of (Instant .parse ("2024-01-01T00:00:00Z" ), Instant .parse ("2024-01-01T00:05:00Z" ));
482- List <Range <Instant >> result = RandomSchedulerUtils .parseScheduleWithSeed (999L , List .of (smallWindow ), 10 * 60 );
482+ List <Range <Instant >> result = RandomSchedulerUtils .parseScheduleWithSeed (999L , List .of (smallWindow ), 10 * 60L );
483483 assertEquals (Collections .emptyList (), result );
484484 }
485485
0 commit comments