Github user vasia commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1000#discussion_r36963490
  
    --- Diff: 
flink-staging/flink-gelly/src/test/java/org/apache/flink/graph/test/GatherSumApplyITCase.java
 ---
    @@ -86,26 +72,35 @@ public void testConnectedComponents() throws Exception {
     
        @Test
        public void testSingleSourceShortestPaths() throws Exception {
    -           GSASingleSourceShortestPaths.main(new String[]{"1", edgesPath, 
resultPath, "16"});
    -           expectedResult = "1 0.0\n" +
    -                           "2 12.0\n" +
    -                           "3 13.0\n" +
    -                           "4 47.0\n" +
    -                           "5 48.0\n" +
    -                           "6 Infinity\n" +
    -                           "7 Infinity\n";
    +           final ExecutionEnvironment env = 
ExecutionEnvironment.getExecutionEnvironment();
    +
    +           Graph<Long, Double, Double> inputGraph = Graph.fromDataSet(
    +                           
SingleSourceShortestPathsData.getDefaultEdgeDataSet(env),
    +                           new InitMapperSSSP(), env);
    +
    +        List<Vertex<Long, Double>> result = inputGraph.run(new 
GSASingleSourceShortestPaths<Long>(1l, 16))
    +                   .getVertices().collect();
    --- End diff --
    
    Yes, we do! The idea is to lazily mitigate the rest of the tests, too. Take 
a look at FLINK-2032.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to