diff options
Diffstat (limited to 'controlloop/templates/template.demo/src/test/java/org/onap/policy/template/demo/VCPEControlLoopTest.java')
-rw-r--r-- | controlloop/templates/template.demo/src/test/java/org/onap/policy/template/demo/VCPEControlLoopTest.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/controlloop/templates/template.demo/src/test/java/org/onap/policy/template/demo/VCPEControlLoopTest.java b/controlloop/templates/template.demo/src/test/java/org/onap/policy/template/demo/VCPEControlLoopTest.java index 8885a23c6..aaa40d1ad 100644 --- a/controlloop/templates/template.demo/src/test/java/org/onap/policy/template/demo/VCPEControlLoopTest.java +++ b/controlloop/templates/template.demo/src/test/java/org/onap/policy/template/demo/VCPEControlLoopTest.java @@ -52,7 +52,9 @@ import org.onap.policy.drools.http.server.HttpServletServer; import org.onap.policy.drools.properties.PolicyProperties; import org.onap.policy.drools.protocol.coders.EventProtocolCoder; import org.onap.policy.drools.protocol.coders.JsonProtocolFilter; +import org.onap.policy.drools.system.PolicyController; import org.onap.policy.drools.system.PolicyEngine; +import org.onap.policy.drools.utils.LoggerUtil; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -71,6 +73,7 @@ public class VCPEControlLoopTest implements TopicListener { Util.setAAIProps(); Util.setGuardProps(); Util.setPUProp(); + LoggerUtil.setLevel(LoggerUtil.ROOT_LOGGER, "INFO"); } @BeforeClass @@ -116,10 +119,10 @@ public class VCPEControlLoopTest implements TopicListener { */ kieSession.dispose(); + PolicyEngine.manager.stop(); HttpServletServer.factory.destroy(); - PolicyEngine.manager.shutdown(); + PolicyController.factory.shutdown(); TopicEndpoint.manager.shutdown(); - PolicyEngine.manager.stop(); } @Test |