aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authora.sreekumar <ajith.sreekumar@est.tech>2019-11-25 18:00:22 +0000
committera.sreekumar <ajith.sreekumar@est.tech>2019-11-26 10:39:52 +0000
commit6a228dfd501e8aca824dc95ee6305d256f901f76 (patch)
tree126314b01354f7a3e608c29a76017722e0dc622f
parente593b2c8e794424393633d888c0d093316fd1004 (diff)
Fixing Junit test cases causing too much logs output during APEX build
Change-Id: If0ad9c6b3a0f19ff3711d6230eb64e0dca1c1ef1 Issue-ID: POLICY-2272 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
-rw-r--r--services/services-onappf/src/test/java/org/onap/policy/apex/services/onappf/parameters/CommonTestData.java2
-rw-r--r--services/services-onappf/src/test/resources/ApexStarterConfigParametersNoop.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/services/services-onappf/src/test/java/org/onap/policy/apex/services/onappf/parameters/CommonTestData.java b/services/services-onappf/src/test/java/org/onap/policy/apex/services/onappf/parameters/CommonTestData.java
index b26a1f1a2..6f4380993 100644
--- a/services/services-onappf/src/test/java/org/onap/policy/apex/services/onappf/parameters/CommonTestData.java
+++ b/services/services-onappf/src/test/java/org/onap/policy/apex/services/onappf/parameters/CommonTestData.java
@@ -78,7 +78,7 @@ public class CommonTestData {
public static TopicParameters getTopicParams() {
final TopicParameters topicParams = new TopicParameters();
topicParams.setTopic("POLICY-PDP-PAP");
- topicParams.setTopicCommInfrastructure("dmaap");
+ topicParams.setTopicCommInfrastructure("noop");
topicParams.setServers(Arrays.asList("message-router"));
return topicParams;
}
diff --git a/services/services-onappf/src/test/resources/ApexStarterConfigParametersNoop.json b/services/services-onappf/src/test/resources/ApexStarterConfigParametersNoop.json
index 061237ff0..13d1dbfed 100644
--- a/services/services-onappf/src/test/resources/ApexStarterConfigParametersNoop.json
+++ b/services/services-onappf/src/test/resources/ApexStarterConfigParametersNoop.json
@@ -1,7 +1,7 @@
{
"name":"ApexStarterParameterGroup",
"restServerParameters": {
- "host": "0.0.0.0",
+ "host": "localhost",
"port": 6969,
"userName": "healthcheck",
"password": "zb!XztG34",