Code Review
/
dmaap
/
dbcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Improve support for http to MR
[dmaap/dbcapi.git]
/
src
/
test
/
java
/
org
/
onap
/
dmaap
/
dbcapi
/
model
/
MR_ClusterTest.java
diff --git
a/src/test/java/org/onap/dmaap/dbcapi/model/MR_ClusterTest.java
b/src/test/java/org/onap/dmaap/dbcapi/model/MR_ClusterTest.java
index
26bca4c
..
df102e3
100644
(file)
--- a/
src/test/java/org/onap/dmaap/dbcapi/model/MR_ClusterTest.java
+++ b/
src/test/java/org/onap/dmaap/dbcapi/model/MR_ClusterTest.java
@@
-30,7
+30,7
@@
import org.junit.Before;
import org.junit.Test;
import org.onap.dmaap.dbcapi.testframework.ReflectionHarness;
public class MR_ClusterTest {
import org.junit.Test;
import org.onap.dmaap.dbcapi.testframework.ReflectionHarness;
public class MR_ClusterTest {
- String d, fqdn
, a
;
+ String d, fqdn;
ReflectionHarness rh = new ReflectionHarness();
ReflectionHarness rh = new ReflectionHarness();
@@
-38,7
+38,6
@@
public class MR_ClusterTest {
public void setUp() throws Exception {
d = "central-onap";
fqdn = "mr.onap.org";
public void setUp() throws Exception {
d = "central-onap";
fqdn = "mr.onap.org";
- a = "ignore";
}
@After
}
@After
@@
-59,8
+58,7
@@
public class MR_ClusterTest {
@Test
public void testMR_ClusterClassConstructor() {
@Test
public void testMR_ClusterClassConstructor() {
- String[] h = { "host1", "host2", "host3" };
- MR_Cluster t = new MR_Cluster( d, fqdn, a, h );
+ MR_Cluster t = new MR_Cluster( d, fqdn, "http", "3904");
t.getHosts();
t.getHosts();