commit | e40b29175ff23406a6135f5d30bafd1aefce20cb | [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 | 4e0acb3a0fc1d21bdb787eb014af140ed76558dc [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 );