X-Git-Url: https://gerrit.onap.org/r/gitweb?p=dmaap%2Fdbcapi.git;a=blobdiff_plain;f=src%2Ftest%2Fjava%2Forg%2Fonap%2Fdmaap%2Fdbcapi%2Fclient%2FMrTopicConnectionTest.java;h=dfb9a3bba2168b7747a5f880786804e15565f2b7;hp=2163925ead9f50f72c025daaff2409ad4428631b;hb=ac03a4b32eae987019cec2cd39d6d252fb320c2f;hpb=fb8a36eeec10b389a3ccc79c5f31ee925243c1b8 diff --git a/src/test/java/org/onap/dmaap/dbcapi/client/MrTopicConnectionTest.java b/src/test/java/org/onap/dmaap/dbcapi/client/MrTopicConnectionTest.java index 2163925..dfb9a3b 100644 --- a/src/test/java/org/onap/dmaap/dbcapi/client/MrTopicConnectionTest.java +++ b/src/test/java/org/onap/dmaap/dbcapi/client/MrTopicConnectionTest.java @@ -81,8 +81,8 @@ public class MrTopicConnectionTest { dls.addDcaeLocation( loc ); ApiError err = new ApiError(); - String[] hl = { "host1", "host2", "host3" }; - MR_Cluster cluster = new MR_Cluster( locname, "localhost", "", hl ); + + MR_Cluster cluster = new MR_Cluster( locname, "localhost", "http", "3904"); mcs.addMr_Cluster( cluster, err ); ns.makeTopicConnection( cluster, "org.onap.dmaap.anInterestingTopic", "" ); String msg = "{ 'key': '1234', 'val': 'hello world' }";