Author: gnodet Date: Fri Dec 17 15:26:01 2010 New Revision: 1050422 URL: http://svn.apache.org/viewvc?rev=1050422&view=rev Log: [CAMEL-3425] CamelContext is started twice when using camel-blueprint
Modified: camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/blueprint/AbstractIntegrationTest.java Modified: camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/blueprint/AbstractIntegrationTest.java URL: http://svn.apache.org/viewvc/camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/blueprint/AbstractIntegrationTest.java?rev=1050422&r1=1050421&r2=1050422&view=diff ============================================================================== --- camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/blueprint/AbstractIntegrationTest.java (original) +++ camel/trunk/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/blueprint/AbstractIntegrationTest.java Fri Dec 17 15:26:01 2010 @@ -23,6 +23,7 @@ import java.util.Dictionary; import java.util.Enumeration; import org.apache.camel.itest.osgi.OSGiIntegrationTestSupport; +import org.junit.Before; import org.ops4j.pax.exam.CoreOptions; import org.ops4j.pax.exam.Inject; import org.ops4j.pax.exam.options.MavenArtifactProvisionOption; @@ -42,6 +43,13 @@ public abstract class AbstractIntegratio @Inject protected BundleContext bundleContext; + @Before + public void setUp() throws Exception { + log.info("********************************************************************************"); + log.info("Testing: " + getTestMethodName() + "(" + getClass().getName() + ")"); + log.info("********************************************************************************"); + } + protected <T> T getOsgiService(Class<T> type, long timeout) { return getOsgiService(type, null, timeout); }