Skip to content

Commit

Permalink
Enabled supportsPersistence()
Browse files Browse the repository at this point in the history
  • Loading branch information
velo committed Nov 21, 2015
1 parent 9380715 commit 404e77c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,6 @@ public boolean supportsTransactions() {
return transactionalGraph;
}

@Override
public boolean supportsPersistence() {
return false;
}

@Override
public boolean supportsThreadedTransactions() {
return false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ public class OrientGraphProvider extends AbstractGraphProvider {
}

private static final Map<Class<?>, List<String>> IGNORED_TESTS;

static {
IGNORED_TESTS = new HashMap<>();
IGNORED_TESTS.put(GraphTest.class, asList(
Expand All @@ -55,6 +54,8 @@ public Map<String, Object> getBaseConfiguration(String graphName, Class<?> test,
HashMap<String, Object> configs = new HashMap<String, Object>();
configs.put(Graph.GRAPH, OrientGraph.class.getName());
configs.put("name", graphName);
if(testMethodName .equals("shouldPersistDataOnClose"))
configs.put(OrientGraph.CONFIG_URL, "memory:test-" + graphName + "-" + test.getSimpleName() + "-" + testMethodName);
return configs;
}

Expand Down

0 comments on commit 404e77c

Please sign in to comment.