set specific packages on dynamically loaded agent for tests

This commit is contained in:
Rob Bygrave
2014-01-31 00:59:48 +13:00
parent 8bfa331c61
commit db3140512f
@@ -10,7 +10,7 @@ public class BaseTestCase {
static {
logger.debug("... preStart");
if (!AgentLoader.loadAgentFromClasspath("avaje-ebeanorm-agent","debug=0")) {
if (!AgentLoader.loadAgentFromClasspath("avaje-ebeanorm-agent","debug=0;packages=com.avaje.tests.**")) {
logger.info("avaje-ebeanorm-agent not found in classpath - not dynamically loaded");
}
}