diff options
author | 2018-08-14 09:34:46 -0400 | |
---|---|---|
committer | 2018-08-14 09:39:23 -0400 | |
commit | b32effcaf5684d5e2f338a4537b71a2375c534e5 (patch) | |
tree | e1b80407f414509ffcc766b987ec6a95f7254b4e /src/test/java/com/att/nsa/cambria/backends/memory/MemoryConsumerFactoryTest.java | |
parent | 0823cb186012c8e6b7de3d979dfabb9f838da7c2 (diff) |
update the testcases after the kafka 11 changes
Issue-ID: DMAAP-526
Change-Id: I477a8ee05fb3cdd76af726b6ca0d1a69aa9eef93
Signed-off-by: sunil unnava <su622b@att.com>
Diffstat (limited to 'src/test/java/com/att/nsa/cambria/backends/memory/MemoryConsumerFactoryTest.java')
-rw-r--r-- | src/test/java/com/att/nsa/cambria/backends/memory/MemoryConsumerFactoryTest.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/java/com/att/nsa/cambria/backends/memory/MemoryConsumerFactoryTest.java b/src/test/java/com/att/nsa/cambria/backends/memory/MemoryConsumerFactoryTest.java index 7b470bc..d6fe6e6 100644 --- a/src/test/java/com/att/nsa/cambria/backends/memory/MemoryConsumerFactoryTest.java +++ b/src/test/java/com/att/nsa/cambria/backends/memory/MemoryConsumerFactoryTest.java @@ -28,6 +28,8 @@ import org.junit.After; import org.junit.Before;
import org.junit.Test;
+import com.att.dmf.mr.backends.memory.MemoryConsumerFactory;
+
public class MemoryConsumerFactoryTest {
@Before
@@ -46,8 +48,9 @@ public class MemoryConsumerFactoryTest { String topic = "testTopic";
String consumerGroupId = "CG1";
String clientId = "C1";
+ String remoteHost="remoteHost";
int timeoutMs = 1000;
- factory.getConsumerFor(topic, consumerGroupId, clientId, timeoutMs);
+ factory.getConsumerFor(topic, consumerGroupId, clientId, timeoutMs,remoteHost);
String trueValue = "True";
assertTrue(trueValue.equalsIgnoreCase("True"));
|