You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commonsrdf.apache.org by st...@apache.org on 2016/05/04 00:15:54 UTC
[5/9] incubator-commonsrdf git commit: Trying Sesame's MemoryStore
transactions..
Trying Sesame's MemoryStore transactions..
Project: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/commit/57b7b568
Tree: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/tree/57b7b568
Diff: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/diff/57b7b568
Branch: refs/heads/rdf4j
Commit: 57b7b568426122d8c43b783a07b78ad09b2c1f36
Parents: e4a43bc
Author: Stian Soiland-Reyes <st...@apache.org>
Authored: Tue May 3 22:46:30 2016 +0100
Committer: Stian Soiland-Reyes <st...@apache.org>
Committed: Tue May 3 22:46:30 2016 +0100
----------------------------------------------------------------------
.../test/java/org/apache/commons/rdf/rdf4j/MemoryGraphTest.java | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/57b7b568/rdf4j/src/test/java/org/apache/commons/rdf/rdf4j/MemoryGraphTest.java
----------------------------------------------------------------------
diff --git a/rdf4j/src/test/java/org/apache/commons/rdf/rdf4j/MemoryGraphTest.java b/rdf4j/src/test/java/org/apache/commons/rdf/rdf4j/MemoryGraphTest.java
index 4269cb0..c41d1e1 100644
--- a/rdf4j/src/test/java/org/apache/commons/rdf/rdf4j/MemoryGraphTest.java
+++ b/rdf4j/src/test/java/org/apache/commons/rdf/rdf4j/MemoryGraphTest.java
@@ -35,7 +35,10 @@ public class MemoryGraphTest extends AbstractGraphTest {
@Override
public Graph createGraph() throws UnsupportedOperationException {
MemoryStore x = new MemoryStore();
+ x.initialize();
NotifyingSailConnection c = x.getConnection();
+ // FIXME: This transaction does not seem to survive for long enough
+ c.begin();
SailModel model = new SailModel(x.getConnection(), false);
return asRDFTermGraph(model);
}