[
https://issues.apache.org/jira/browse/HADOOP-14281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15993395#comment-15993395
]
Alison Yu commented on HADOOP-14281:
------------------------------------
I posted a new patch using VI. It should work now.
> Fix TestKafkaMetrics
> --------------------
>
> Key: HADOOP-14281
> URL: https://issues.apache.org/jira/browse/HADOOP-14281
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Reporter: Akira Ajisaka
> Assignee: Alison Yu
> Labels: newbie
> Attachments: HADOOP-14281.001.patch
>
>
> TestKafkaMetrics#testPutMetrics fails
> {noformat}
> org.junit.ComparisonFailure:
> Expected :{"hostname": "localhost", "timestamp": 1491385648730, "date":
> "2017-04-05","time": "06:47:28","name": "Kafka record name" , "KafkaTag":
> "test_tag", "KafkaCounter": "123"}
> Actual :{"hostname": "localhost", "timestamp": 1491385648730, "date":
> "2017-04-05","time": "18:47:28","name": "Kafka record name" , "KafkaTag":
> "test_tag", "KafkaCounter": "123"}
> at org.junit.Assert.assertEquals(Assert.java:115)
> at org.junit.Assert.assertEquals(Assert.java:144)
> at
> org.apache.hadoop.metrics2.impl.TestKafkaMetrics.testPutMetrics(TestKafkaMetrics.java:148)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]