Search in sources :

Example 1 with TestingSchedulingPipelinedRegion

use of org.apache.flink.runtime.scheduler.strategy.TestingSchedulingPipelinedRegion in project flink by apache.

the class ConsumerRegionGroupExecutionViewMaintainerTest method createProducerAndConsumer.

private void createProducerAndConsumer() {
    TestingSchedulingExecutionVertex producer = TestingSchedulingExecutionVertex.newBuilder().build();
    TestingSchedulingExecutionVertex consumer = TestingSchedulingExecutionVertex.newBuilder().build();
    producerRegion = new TestingSchedulingPipelinedRegion(Collections.singleton(producer));
    consumerRegion = new TestingSchedulingPipelinedRegion(Collections.singleton(consumer));
}
Also used : TestingSchedulingPipelinedRegion(org.apache.flink.runtime.scheduler.strategy.TestingSchedulingPipelinedRegion) TestingSchedulingExecutionVertex(org.apache.flink.runtime.scheduler.strategy.TestingSchedulingExecutionVertex)

Aggregations

TestingSchedulingExecutionVertex (org.apache.flink.runtime.scheduler.strategy.TestingSchedulingExecutionVertex)1 TestingSchedulingPipelinedRegion (org.apache.flink.runtime.scheduler.strategy.TestingSchedulingPipelinedRegion)1