diff options
author | esobmar <mariusz.sobucki@est.tech> | 2019-04-02 12:40:08 +0000 |
---|---|---|
committer | esobmar <mariusz.sobucki@est.tech> | 2019-04-02 12:40:08 +0000 |
commit | 0c678f67319d52a103268061355c3260cc94654a (patch) | |
tree | 0300798dae85521f1a25adadd40f8c1e45d11101 | |
parent | b4350f96ad8ad5f4377831be13e5ebe367eb183b (diff) |
Updates for LogfileLoader unit test
Change-Id: I0b3cd05bcff9c7dc2beb512ec212fed8440e586d
Issue-ID: DMAAP-1105
Signed-off-by: esobmar <mariusz.sobucki@est.tech>
-rw-r--r-- | datarouter-prov/src/test/java/org/onap/dmaap/datarouter/provisioning/utils/LogfileLoaderTest.java | 12 |
1 files changed, 0 insertions, 12 deletions
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 @@ -87,18 +87,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<Long, Long> expect = new HashMap<>(); - expect.put(17772L,1L); - expect.put(29353L,1L); - Map<Long, Long> 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"; int[] actual = lfl.process(prepFile(fileContent)); |