X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=policy-agent%2Fsrc%2Ftest%2Fjava%2Forg%2Foransc%2Fpolicyagent%2Fconfiguration%2FApplicationConfigParserTest.java;h=79eb07a6d140f03ad7da559e28fd1d61124090f9;hb=97aaf161d02804c08cffff826f3afdb7690ee5bb;hp=eb37ec567da8e9f117f1646b320e1e51ac4674be;hpb=672fe20c9ed06da97ee530d76f1492ab5aa7bad9;p=nonrtric.git diff --git a/policy-agent/src/test/java/org/oransc/policyagent/configuration/ApplicationConfigParserTest.java b/policy-agent/src/test/java/org/oransc/policyagent/configuration/ApplicationConfigParserTest.java index eb37ec56..79eb07a6 100644 --- a/policy-agent/src/test/java/org/oransc/policyagent/configuration/ApplicationConfigParserTest.java +++ b/policy-agent/src/test/java/org/oransc/policyagent/configuration/ApplicationConfigParserTest.java @@ -68,8 +68,8 @@ public class ApplicationConfigParserTest { () -> assertEquals("admin", actualPublisherConfig.get("password"), "Wrong password"), () -> assertEquals(ProtocolTypeConstants.HTTPNOAUTH.toString(), actualPublisherConfig.get("TransportType"), "Wrong TransportType"), - () -> assertEquals(15000, actualPublisherConfig.get("timeout"), "Wrong timeout"), - () -> assertEquals(100, actualPublisherConfig.get("limit"), "Wrong limit")); + () -> assertEquals("15000", actualPublisherConfig.get("timeout"), "Wrong timeout"), + () -> assertEquals("100", actualPublisherConfig.get("limit"), "Wrong limit")); Properties actualConsumerConfig = result.dmaapConsumerConfig(); assertAll("consumerConfig", @@ -84,8 +84,8 @@ public class ApplicationConfigParserTest { () -> assertEquals("policy-agent", actualConsumerConfig.get("id"), "Wrong id"), () -> assertEquals(ProtocolTypeConstants.HTTPNOAUTH.toString(), actualConsumerConfig.get("TransportType"), "Wrong TransportType"), - () -> assertEquals(15000, actualConsumerConfig.get("timeout"), "Wrong timeout"), - () -> assertEquals(100, actualConsumerConfig.get("limit"), "Wrong limit")); + () -> assertEquals("15000", actualConsumerConfig.get("timeout"), "Wrong timeout"), + () -> assertEquals("100", actualConsumerConfig.get("limit"), "Wrong limit")); Map controllers = result.controllerConfigs(); assertEquals(1, controllers.size(), "size");