Program: 167121
Project: 167121
Buggy source:
@Test public void testEdgeBetweenSchemas(){
  Vertex john=this.sqlgGraph.addVertex(T.label,"String_Node_Str","String_Node_Str","String_Node_Str");
  Vertex tom=this.sqlgGraph.addVertex(T.label,"String_Node_Str","String_Node_Str","String_Node_Str");
  Vertex ape=this.sqlgGraph.addVertex(T.label,"String_Node_Str","String_Node_Str","String_Node_Str");
  john.addEdge("String_Node_Str",tom);
  john.addEdge("String_Node_Str",ape);
  this.sqlgGraph.tx().commit();
  Assert.assertEquals(3,this.sqlgGraph.V().count().next(),0);
  Assert.assertEquals(1,john.out("String_Node_Str").count().next(),0);
  Assert.assertEquals(tom,john.out("String_Node_Str").next());
  Assert.assertEquals(john,tom.in("String_Node_Str").next());
  Assert.assertEquals(2,this.sqlgGraph.E().count().next(),0);
  this.sqlgGraph.E().<Edge>has(T.label,"String_Node_Str").forEach(a -> {
    Assert.assertEquals(john,a.outV().next());
    Assert.assertEquals(tom,a.inV().next());
  }
);
  Assert.assertEquals(2,this.sqlgGraph.V().<Vertex>has(T.label,(a,b) -> ((String)a).endsWith((String)b),"String_Node_Str").count().next(),0);
  Assert.assertEquals(1,john.out("String_Node_Str").has("String_Node_Str","String_Node_Str").count().next(),0);
  Assert.assertEquals(2,this.sqlgGraph.V().has(T.label,"String_Node_Str").count().next(),0);
  Assert.assertEquals(1,this.sqlgGraph.V().has(T.label,"String_Node_Str").count().next(),0);
  Assert.assertEquals(1,this.sqlgGraph.V().has(T.label,"String_Node_Str").count().next(),0);
  Assert.assertEquals(1,this.sqlgGraph.V().has(T.label,"String_Node_Str").count().next(),0);
  Assert.assertEquals(1,this.sqlgGraph.V().has(T.label,"String_Node_Str").count().next(),0);
}

Fixed version (ground truth):
@Test public void testEdgeBetweenSchemas(){
  Vertex john=this.sqlgGraph.addVertex(T.label,"String_Node_Str","String_Node_Str","String_Node_Str");
  Vertex tom=this.sqlgGraph.addVertex(T.label,"String_Node_Str","String_Node_Str","String_Node_Str");
  Vertex ape=this.sqlgGraph.addVertex(T.label,"String_Node_Str","String_Node_Str","String_Node_Str");
  john.addEdge("String_Node_Str",tom);
  john.addEdge("String_Node_Str",ape);
  this.sqlgGraph.tx().commit();
  Assert.assertEquals(3,this.sqlgGraph.V().count().next(),0);
  Assert.assertEquals(1,john.out("String_Node_Str").count().next(),0);
  Assert.assertEquals(tom,john.out("String_Node_Str").next());
  Assert.assertEquals(john,tom.in("String_Node_Str").next());
  Assert.assertEquals(2,this.sqlgGraph.E().count().next(),0);
  this.sqlgGraph.E().<Edge>has(T.label,"String_Node_Str").forEachRemaining(a -> {
    Assert.assertEquals(john,a.outV().next());
    Assert.assertEquals(tom,a.inV().next());
  }
);
  Assert.assertEquals(2,this.sqlgGraph.V().<Vertex>has(T.label,(a,b) -> ((String)a).endsWith((String)b),"String_Node_Str").count().next(),0);
  Assert.assertEquals(1,john.out("String_Node_Str").has("String_Node_Str","String_Node_Str").count().next(),0);
  Assert.assertEquals(2,this.sqlgGraph.V().has(T.label,"String_Node_Str").count().next(),0);
  Assert.assertEquals(1,this.sqlgGraph.V().has(T.label,"String_Node_Str").count().next(),0);
  Assert.assertEquals(1,this.sqlgGraph.V().has(T.label,"String_Node_Str").count().next(),0);
  Assert.assertEquals(1,this.sqlgGraph.V().has(T.label,"String_Node_Str").count().next(),0);
  Assert.assertEquals(1,this.sqlgGraph.V().has(T.label,"String_Node_Str").count().next(),0);
}