jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r1486595 - /jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/OakMongoMKRepositoryStub.java
Date Mon, 27 May 2013 12:38:32 GMT
Author: thomasm
Date: Mon May 27 12:38:32 2013
New Revision: 1486595

URL: http://svn.apache.org/r1486595
Log:
OAK-682 Run Oak-Jcr tests using the new MongoMK prototype (use the same cluster id for all
tests for now, to avoid revision visibility problems)

Modified:
    jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/OakMongoMKRepositoryStub.java

Modified: jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/OakMongoMKRepositoryStub.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/OakMongoMKRepositoryStub.java?rev=1486595&r1=1486594&r2=1486595&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/OakMongoMKRepositoryStub.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/OakMongoMKRepositoryStub.java
Mon May 27 12:38:32 2013
@@ -72,8 +72,9 @@ public class OakMongoMKRepositoryStub ex
         Session session = null;
         try {
             this.connection = new MongoConnection(HOST, PORT, DB);
-            Jcr jcr = new Jcr(new MongoMK.Builder().
-                    setMongoDB(connection.getDB()).open());
+            MongoMK m = new MongoMK.Builder().setClusterId(1).
+                    setMongoDB(connection.getDB()).open();
+            Jcr jcr = new Jcr(m);
             jcr.with(Executors.newScheduledThreadPool(1));
             this.repository = jcr.createRepository();
 



Mime
View raw message