Skip to content

Commit

Permalink
Don't use hazelcast executor in task scheduling #10122
Browse files Browse the repository at this point in the history
  • Loading branch information
vbradnitski committed Apr 21, 2023
1 parent dc27e0d commit fd5aafe
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.enonic.xp.core.scheduler;

import java.time.Instant;
import java.util.Set;
import java.util.TimeZone;

import org.junit.jupiter.api.BeforeEach;
Expand Down Expand Up @@ -578,9 +577,6 @@ private IScheduledFuture<?> mockFuture( final ScheduledJobName name )
when( future.getHandler() ).thenReturn( handler );
when( handler.getTaskName() ).thenReturn( name.getValue() );

when( schedulerExecutorService.getAllFutures() ).
thenReturn( Set.of( name.getValue() ) );

return future;
}
}

0 comments on commit fd5aafe

Please sign in to comment.