use of org.apache.flink.runtime.shuffle.TestingShuffleMaster in project flink by apache.
the class DefaultSchedulerTest method setUp.
@Before
public void setUp() throws Exception {
executor = Executors.newSingleThreadExecutor();
scheduledExecutorService = new DirectScheduledExecutorService();
configuration = new Configuration();
testRestartBackoffTimeStrategy = new TestRestartBackoffTimeStrategy(true, 0);
testExecutionVertexOperations = new TestExecutionVertexOperationsDecorator(new DefaultExecutionVertexOperations());
executionVertexVersioner = new ExecutionVertexVersioner();
executionSlotAllocatorFactory = new TestExecutionSlotAllocatorFactory();
testExecutionSlotAllocator = executionSlotAllocatorFactory.getTestExecutionSlotAllocator();
shuffleMaster = new TestingShuffleMaster();
partitionTracker = new TestingJobMasterPartitionTracker();
timeout = Time.seconds(60);
}
Aggregations