use of com.flink.platform.common.model.JobVertex in project flink-platform-backend by itinycheng.
the class JobFlowDagHelperTest method test5.
@Test
public void test5() {
JobVertex vertex = dag.getVertex(2L);
vertex.setJobRunStatus(SUCCESS);
vertex = dag.getVertex(1L);
vertex.setJobRunStatus(SUCCESS);
Set<JobVertex> executableVertices = JobFlowDagHelper.getExecutableVertices(dag);
System.out.println(executableVertices);
}
use of com.flink.platform.common.model.JobVertex in project flink-platform-backend by itinycheng.
the class JobFlowDagHelperTest method test11.
@Test
public void test11() {
JobVertex vertex = dag.getVertex(2L);
vertex.setJobRunStatus(FAILURE);
vertex = dag.getVertex(1L);
vertex.setJobRunStatus(FAILURE);
Set<JobVertex> executableVertices = JobFlowDagHelper.getExecutableVertices(dag);
System.out.println(executableVertices);
}
use of com.flink.platform.common.model.JobVertex in project flink-platform-backend by itinycheng.
the class JobFlowDagHelperTest method test6.
@Test
public void test6() {
JobVertex vertex = dag.getVertex(2L);
vertex.setJobRunStatus(SUCCESS);
vertex = dag.getVertex(1L);
vertex.setJobRunStatus(SUCCESS);
vertex = dag.getVertex(3L);
Set<JobVertex> executableVertices = JobFlowDagHelper.getExecutableVertices(dag);
System.out.println(executableVertices);
}
use of com.flink.platform.common.model.JobVertex in project flink-platform-backend by itinycheng.
the class JobFlowDagHelperTest method test9.
@Test
public void test9() {
JobVertex vertex = dag.getVertex(2L);
vertex.setJobRunStatus(SUCCESS);
vertex = dag.getVertex(1L);
vertex.setJobRunStatus(SUCCESS);
vertex = dag.getVertex(3L);
vertex.setJobRunStatus(SUCCESS);
vertex = dag.getVertex(4L);
vertex.setJobRunStatus(SUCCESS);
vertex = dag.getVertex(5L);
vertex.setJobRunStatus(SUCCESS);
Set<JobVertex> executableVertices = JobFlowDagHelper.getExecutableVertices(dag);
System.out.println(executableVertices);
}
use of com.flink.platform.common.model.JobVertex in project flink-platform-backend by itinycheng.
the class JobFlowDagHelperTest method test8.
@Test
public void test8() {
JobVertex vertex = dag.getVertex(2L);
vertex.setJobRunStatus(SUCCESS);
vertex = dag.getVertex(1L);
vertex.setJobRunStatus(SUCCESS);
vertex = dag.getVertex(3L);
vertex.setJobRunStatus(SUCCESS);
vertex = dag.getVertex(4L);
vertex.setJobRunStatus(SUCCESS);
Set<JobVertex> executableVertices = JobFlowDagHelper.getExecutableVertices(dag);
System.out.println(executableVertices);
}
Aggregations