v0.addEdge("tsw", v1, "speed", "1", "arrTime", 10L, "depTime", 5L);
v1.addEdge("tsw", v2, "speed", "1", "arrTime", 15L, "depTime", 9L); //must be ignored in longest path
v1.addEdge("tsw", v2, "speed", "1", "arrTime", 20L, "depTime", 17L); //must be used in longest path
v2.addEdge("tsw", v3, "speed", "1", "arrTime", 30L, "depTime", 25L);
this.sqlgGraph.tx().commit();
<BUG>GraphTraversal gp = this.sqlgGraph.traversal().V().outE("tsw").as("e").inV().emit().repeat(
</BUG>
__.outE("tsw").as("e").inV().simplePath()
<BUG>).times(20);
assertEquals(10, IteratorUtils.list(gp).size());

gp = query1(this.sqlgGraph.traversal());</BUG>
checkResult(gp);

v0.addEdge("tsw", v1, "speed", "1", "arrTime", 10L, "depTime", 5L);
v1.addEdge("tsw", v2, "speed", "1", "arrTime", 15L, "depTime", 9L); //must be ignored in longest path
v1.addEdge("tsw", v2, "speed", "1", "arrTime", 20L, "depTime", 17L); //must be used in longest path
v2.addEdge("tsw", v3, "speed", "1", "arrTime", 30L, "depTime", 25L);
this.sqlgGraph.tx().commit();
DefaultGraphTraversal gp = (DefaultGraphTraversal) this.sqlgGraph.traversal().V().outE("tsw").as("e").inV().emit().repeat(
__.outE("tsw").as("e").inV().simplePath()
).times(20);
Assert.assertEquals(4, gp.getSteps().size());
Assert.assertEquals(10, IteratorUtils.list(gp).size());
Assert.assertEquals(2, gp.getSteps().size());
