Fix wrongly named tests (method names switched with respect to actual test)
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1356237 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/configadmin/src/test/java/org/apache/felix/cm/integration/ConfigurationBaseTest.java b/configadmin/src/test/java/org/apache/felix/cm/integration/ConfigurationBaseTest.java
index f3fba51..8e1f19b 100644
--- a/configadmin/src/test/java/org/apache/felix/cm/integration/ConfigurationBaseTest.java
+++ b/configadmin/src/test/java/org/apache/felix/cm/integration/ConfigurationBaseTest.java
@@ -505,7 +505,7 @@
@Test
- public void test_basic_configuration_factory_configure_then_start() throws BundleException, IOException
+ public void test_basic_configuration_factory_start_then_configure() throws BundleException, IOException
{
final String factoryPid = "test_basic_configuration_factory_configure_then_start";
bundle = installBundle( factoryPid, ManagedServiceFactoryTestActivator.class );
@@ -541,13 +541,14 @@
@Test
- public void test_basic_configuration_factory_start_then_configure() throws BundleException, IOException
+ public void test_basic_configuration_factory_configure_then_start() throws BundleException, IOException
{
// 1. create config with pid and locationA
// 2. update config with properties
final String factoryPid = "test_basic_configuration_factory_start_then_configure";
final Configuration config = createFactoryConfiguration( factoryPid, null, true );
final String pid = config.getPid();
+ delay();
// 3. register ManagedService ms1 with pid from said locationA
bundle = installBundle( factoryPid, ManagedServiceFactoryTestActivator.class );