Skip to content

Commit

Permalink
[FLINK-8262] [tests] Harden IndividualRestartsConcurrencyTest.testLoc…
Browse files Browse the repository at this point in the history
…alFailureFailsPendingCheckpoints

The problem was a concurrent restart attempt which failed due to not enough
available slots. This failure would lead to the job failure and the discarding
of all pending checkpoints.
  • Loading branch information
tillrohrmann committed Dec 14, 2017
1 parent 840cbfb commit e80dd8e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,7 @@ public void testLocalFailureFailsPendingCheckpoints() throws Exception {
when(taskManagerGateway.cancelTask(any(ExecutionAttemptID.class), any(Time.class))).thenReturn(CompletableFuture.completedFuture(Acknowledge.get()));

final SimpleSlotProvider slotProvider = new SimpleSlotProvider(jid, parallelism, taskManagerGateway);
final Executor executor = TestingUtils.defaultExecutor();

final ManuallyTriggeredDirectExecutor executor = new ManuallyTriggeredDirectExecutor();

final CheckpointCoordinatorConfiguration checkpointCoordinatorConfiguration = new CheckpointCoordinatorConfiguration(
10L,
Expand Down

0 comments on commit e80dd8e

Please sign in to comment.