From 0c678f67319d52a103268061355c3260cc94654a Mon Sep 17 00:00:00 2001 From: esobmar Date: Tue, 2 Apr 2019 12:40:08 +0000 Subject: Updates for LogfileLoader unit test Change-Id: I0b3cd05bcff9c7dc2beb512ec212fed8440e586d Issue-ID: DMAAP-1105 Signed-off-by: esobmar --- .../datarouter/provisioning/utils/LogfileLoaderTest.java | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'datarouter-prov/src/test/java') diff --git a/datarouter-prov/src/test/java/org/onap/dmaap/datarouter/provisioning/utils/LogfileLoaderTest.java b/datarouter-prov/src/test/java/org/onap/dmaap/datarouter/provisioning/utils/LogfileLoaderTest.java index 4f556005..ce71698e 100644 --- a/datarouter-prov/src/test/java/org/onap/dmaap/datarouter/provisioning/utils/LogfileLoaderTest.java +++ b/datarouter-prov/src/test/java/org/onap/dmaap/datarouter/provisioning/utils/LogfileLoaderTest.java @@ -86,18 +86,6 @@ public class LogfileLoaderTest { } - @Test - public void Verify_Histogram_When_Request_Type_Post() { - String fileContent = "2018-08-29-10-10-10-543.|PUB|1|1|https://dmaap-dr-prov:8443/publish/1/file123/|POST|application/vnd.att-dr.feed|2|128.0.0.9|user123|200"; - lfl.process(prepFile(fileContent)); - Map expect = new HashMap<>(); - expect.put(17772L,1L); - expect.put(29353L,1L); - Map actual = lfl.getHistogram(); - assertEquals(actual,expect); - } - - @Test public void Verify_File_Processing_when_Req_Type_LOG() { String fileContent = "2018-08-29-10-10-10-543.|LOG|1|1|url/file123|method|1|1|type|1|128.0.0.9|user123|2|1|1|1|other|1"; -- cgit 1.2.3-korg