This closes #560

This commit is contained in:
Clebert Suconic 2016-06-03 17:39:49 -04:00
commit 29a0d273dd
2 changed files with 6 additions and 2 deletions

View File

@ -116,6 +116,10 @@
<configuration> <configuration>
<instructions> <instructions>
<Embed-Dependency>*;scope=compile|runtime</Embed-Dependency> <Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
<Import-Package>
org.postgresql*;resolution:=optional,
*
</Import-Package>
<_exportcontents>*</_exportcontents> <_exportcontents>*</_exportcontents>
</instructions> </instructions>
</configuration> </configuration>

View File

@ -16,13 +16,13 @@
*/ */
package org.apache.activemq.artemis.tests.integration.karaf; package org.apache.activemq.artemis.tests.integration.karaf;
import org.apache.activemq.artemis.tests.util.ActiveMQTestBase;
import org.apache.karaf.jaas.boot.principal.RolePrincipal; import org.apache.karaf.jaas.boot.principal.RolePrincipal;
import org.apache.karaf.jaas.boot.principal.UserPrincipal; import org.apache.karaf.jaas.boot.principal.UserPrincipal;
import org.apache.karaf.shell.api.console.Session; import org.apache.karaf.shell.api.console.Session;
import org.apache.karaf.shell.api.console.SessionFactory; import org.apache.karaf.shell.api.console.SessionFactory;
import org.apache.log4j.Logger; import org.apache.log4j.Logger;
import org.apache.qpid.jms.JmsConnectionFactory; import org.apache.qpid.jms.JmsConnectionFactory;
import org.junit.Assert;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.ops4j.pax.exam.Configuration; import org.ops4j.pax.exam.Configuration;
@ -66,7 +66,7 @@ import static org.ops4j.pax.exam.karaf.options.KarafDistributionOption.karafDist
import static org.ops4j.pax.exam.karaf.options.KarafDistributionOption.logLevel; import static org.ops4j.pax.exam.karaf.options.KarafDistributionOption.logLevel;
@RunWith(PaxExam.class) @RunWith(PaxExam.class)
public class ArtemisFeatureTest extends Assert { public class ArtemisFeatureTest extends ActiveMQTestBase {
private static Logger LOG = Logger.getLogger(ArtemisFeatureTest.class.getName()); private static Logger LOG = Logger.getLogger(ArtemisFeatureTest.class.getName());