Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -113,23 +113,6 @@ public void testJobClientSavepoint() throws Exception {
() -> jobClient.stopWithSavepoint(true, null).get());
}

@Test
public void testSubmissionError() throws Exception {
PerJobMiniClusterFactory perJobMiniClusterFactory = initializeMiniCluster();

// JobGraph is not a valid job

JobGraph jobGraph = JobGraphTestUtils.emptyJobGraph();

assertThrows(
"Could not instantiate JobManager",
ExecutionException.class,
() ->
perJobMiniClusterFactory
.submitJob(jobGraph, ClassLoader.getSystemClassLoader())
.get());
}

@Test
public void testMultipleExecutions() throws Exception {
PerJobMiniClusterFactory perJobMiniClusterFactory = initializeMiniCluster();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
@PublicEvolving
public enum JobStatus {
/**
* The job has been received by the Dispatcher, and is waiting for the job manager to be
* created.
* The job has been received by the Dispatcher, and is waiting for the job manager to receive
* leadership and to be created.
*/
INITIALIZING(TerminalState.NON_TERMINAL),

Expand Down

Large diffs are not rendered by default.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public MiniDispatcher createDispatcher(
fencingToken,
DispatcherServices.from(
partialDispatcherServicesWithJobGraphStore,
DefaultJobManagerRunnerFactory.INSTANCE),
JobMasterServiceLeadershipRunnerFactory.INSTANCE),
jobGraph,
dispatcherBootstrapFactory,
executionMode);
Expand Down
Loading