From b6b7bef8bdcad15af01ac88a038dd763ce59f68f Mon Sep 17 00:00:00 2001 From: xg353y Date: Tue, 11 Apr 2017 13:30:42 +0200 Subject: [MSO-8] Update the maven dependency Update the maven depenency for sdc-distribution-client to cooperate with the sdc changes. Change-Id: I2da936e5c40cb68c7181bb78307192dd5655b5dc Signed-off-by: xg353y --- .../org/openecomp/mso/HealthCheckUtilsTest.java | 26 ++++++++++------------ 1 file changed, 12 insertions(+), 14 deletions(-) (limited to 'status-control/src/test') diff --git a/status-control/src/test/java/org/openecomp/mso/HealthCheckUtilsTest.java b/status-control/src/test/java/org/openecomp/mso/HealthCheckUtilsTest.java index 712cdb2ce6..6077e202b2 100644 --- a/status-control/src/test/java/org/openecomp/mso/HealthCheckUtilsTest.java +++ b/status-control/src/test/java/org/openecomp/mso/HealthCheckUtilsTest.java @@ -229,14 +229,12 @@ public class HealthCheckUtilsTest { assertTrue (utils.verifyGlobalHealthCheck (true, null)); - // mising server-port parameter + // mising server-camunda parameter MsoJavaProperties newProperties1 = new MsoJavaProperties(); Mockito.when(utils.loadTopologyProperties()).thenReturn(newProperties1); newProperties1.setProperty("apih-load-balancer", ip1); newProperties1.setProperty("apih-nodehealthcheck-urn",apihUrl1); - newProperties1.setProperty("camunda-load-balancer",ip1); - newProperties1.setProperty("camunda-nodehealthcheck-urn",bpmnUrl1); newProperties1.setProperty("jra-load-balancer",ip1); newProperties1.setProperty("jra-nodehealthcheck-urn",raUrl1); @@ -247,11 +245,11 @@ public class HealthCheckUtilsTest { Mockito.when(utils.loadTopologyProperties()).thenReturn(newProperties2); newProperties2.setProperty("server-port", port); - newProperties1.setProperty("apih-nodehealthcheck-urn",apihUrl1); - newProperties1.setProperty("camunda-load-balancer",ip1); - newProperties1.setProperty("camunda-nodehealthcheck-urn",bpmnUrl1); - newProperties1.setProperty("jra-load-balancer",ip1); - newProperties1.setProperty("jra-nodehealthcheck-urn",raUrl1); + newProperties2.setProperty("apih-nodehealthcheck-urn",apihUrl1); + newProperties2.setProperty("camunda-load-balancer",ip1); + newProperties2.setProperty("camunda-nodehealthcheck-urn",bpmnUrl1); + newProperties2.setProperty("jra-load-balancer",ip1); + newProperties2.setProperty("jra-nodehealthcheck-urn",raUrl1); assertFalse (utils.verifyGlobalHealthCheck (true, null)); @@ -260,11 +258,11 @@ public class HealthCheckUtilsTest { Mockito.when(utils.loadTopologyProperties()).thenReturn(newProperties3); newProperties3.setProperty("server-port", port); - newProperties1.setProperty("apih-load-balancer", ip1); - newProperties1.setProperty("apih-nodehealthcheck-urn",apihUrl1); - newProperties1.setProperty("camunda-load-balancer",ip1); - newProperties1.setProperty("camunda-nodehealthcheck-urn",bpmnUrl1); - newProperties1.setProperty("jra-load-balancer",ip1); + newProperties3.setProperty("apih-load-balancer", ip1); + newProperties3.setProperty("apih-nodehealthcheck-urn",apihUrl1); + newProperties3.setProperty("camunda-load-balancer",ip1); + newProperties3.setProperty("camunda-nodehealthcheck-urn",bpmnUrl1); + newProperties3.setProperty("jra-load-balancer",ip1); newProperties3.setProperty("jra-server-list",ip1); assertFalse (utils.verifyGlobalHealthCheck (true, null)); @@ -297,4 +295,4 @@ public class HealthCheckUtilsTest { } return null; } -} +} \ No newline at end of file -- cgit 1.2.3-korg