commit | a777d3278a0b0da1a7811d58504ec885eb203a67 | [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 | 5a891349607d74ceac781f2526d18d83f6522721 | |
parent | 5d2be787ef7ff7dee18e668429ab8fe149f8ec3f [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/configadmin@738399 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/test/java/org/apache/felix/cm/impl/ConfigurationManagerTest.java b/src/test/java/org/apache/felix/cm/impl/ConfigurationManagerTest.java index 9a26440..390517d 100644 --- a/src/test/java/org/apache/felix/cm/impl/ConfigurationManagerTest.java +++ b/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 );