Author: chetanm
Date: Mon Mar 21 05:28:33 2016
New Revision: 1735919

URL: http://svn.apache.org/viewvc?rev=1735919&view=rev
Log:
OAK-4132 - JaasConfigSpiTest fails intermittently with missing LoginModule 
exception

Close the registry before initializing it again

Modified:
    
jackrabbit/oak/trunk/oak-pojosr/src/test/groovy/org/apache/jackrabbit/oak/run/osgi/ConfigTest.groovy

Modified: 
jackrabbit/oak/trunk/oak-pojosr/src/test/groovy/org/apache/jackrabbit/oak/run/osgi/ConfigTest.groovy
URL: 
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-pojosr/src/test/groovy/org/apache/jackrabbit/oak/run/osgi/ConfigTest.groovy?rev=1735919&r1=1735918&r2=1735919&view=diff
==============================================================================
--- 
jackrabbit/oak/trunk/oak-pojosr/src/test/groovy/org/apache/jackrabbit/oak/run/osgi/ConfigTest.groovy
 (original)
+++ 
jackrabbit/oak/trunk/oak-pojosr/src/test/groovy/org/apache/jackrabbit/oak/run/osgi/ConfigTest.groovy
 Mon Mar 21 05:28:33 2016
@@ -22,7 +22,6 @@ package org.apache.jackrabbit.oak.run.os
 import org.apache.felix.connect.launch.BundleDescriptor
 import org.apache.felix.connect.launch.PojoServiceRegistry
 import groovy.json.JsonOutput
-import org.apache.commons.io.FileUtils
 import org.junit.After
 import org.junit.Before
 import org.junit.Rule
@@ -101,6 +100,8 @@ class ConfigTest {
         assert cm.getConfiguration('bar').properties.get('a') == 'a1'
         assert cm.getConfiguration('foo2').properties.get('a') == 'a2'
 
+        shutDown()
+
         //Now re init and remove the pid bar
         config[REPOSITORY_CONFIG] = [
                 foo : [a:'a-new', b:1],


Reply via email to