You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by mr...@apache.org on 2017/01/18 15:59:26 UTC

svn commit: r1779351 - /jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStoreServiceTest.java

Author: mreutegg
Date: Wed Jan 18 15:59:26 2017
New Revision: 1779351

URL: http://svn.apache.org/viewvc?rev=1779351&view=rev
Log:
OAK-5480: oak-core/repository left after a build

Modified:
    jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStoreServiceTest.java

Modified: jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStoreServiceTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStoreServiceTest.java?rev=1779351&r1=1779350&r2=1779351&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStoreServiceTest.java (original)
+++ jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStoreServiceTest.java Wed Jan 18 15:59:26 2017
@@ -17,7 +17,6 @@
 package org.apache.jackrabbit.oak.plugins.document;
 
 import java.io.File;
-import java.util.Collections;
 import java.util.Map;
 
 import com.google.common.collect.Maps;
@@ -117,8 +116,8 @@ public class DocumentNodeStoreServiceTes
     }
 
     @Test
-    public void journalPropertyTracker() throws Exception{
-        MockOsgi.activate(service, context.bundleContext(), Collections.<String,Object>emptyMap());
+    public void journalPropertyTracker() throws Exception {
+        MockOsgi.activate(service, context.bundleContext(), newConfig(repoHome));
         DocumentNodeStore store = context.getService(DocumentNodeStore.class);
         assertEquals(0, store.getJournalPropertyHandlerFactory().getServiceCount());