commit | 988d0411c1cb5df67eb87ac10f9475dc241f4bb2 | [log] [tgz] |
---|---|---|
author | Felix Meschberger <fmeschbe@apache.org> | Wed Jan 28 08:01:35 2009 +0000 |
committer | Felix Meschberger <fmeschbe@apache.org> | Wed Jan 28 08:01:35 2009 +0000 |
tree | d7280ea54606bef30c6e4062ce411c21ba774700 | |
parent | 1311eb37f8696be50c5e30a90814e01a1a119740 [diff] |
Ensure configuration directory for the mock goes into target to be cleaned properly git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@738399 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/configadmin/src/test/java/org/apache/felix/cm/impl/ConfigurationManagerTest.java b/configadmin/src/test/java/org/apache/felix/cm/impl/ConfigurationManagerTest.java index 9a26440..390517d 100644 --- a/configadmin/src/test/java/org/apache/felix/cm/impl/ConfigurationManagerTest.java +++ b/configadmin/src/test/java/org/apache/felix/cm/impl/ConfigurationManagerTest.java
@@ -166,6 +166,9 @@ final MockBundleContext bundleContext = new MockBundleContext(); ConfigurationManager configMgr = createConfigurationManager( null ); + // ensure the configuration data goes to target + bundleContext.setProperty( "felix.cm.dir", "target/config" ); + // default value is 2 bundleContext.setProperty( "felix.cm.loglevel", null ); configMgr.start( bundleContext );