diff --git a/driver/src/test/java/org/apache/tinkerpop/gremlin/orientdb/gremlintest/OrientStandardGraphProvider.java b/driver/src/test/java/org/apache/tinkerpop/gremlin/orientdb/gremlintest/OrientStandardGraphProvider.java index 94dce8d..0a56f23 100644 --- a/driver/src/test/java/org/apache/tinkerpop/gremlin/orientdb/gremlintest/OrientStandardGraphProvider.java +++ b/driver/src/test/java/org/apache/tinkerpop/gremlin/orientdb/gremlintest/OrientStandardGraphProvider.java @@ -50,6 +50,8 @@ public void clear(Graph graph, Configuration configuration) throws Exception { if (g.isOpen()) { g.drop(); + } else { + g.close(); } } }