[
https://issues.apache.org/jira/browse/HBASE-18345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16079457#comment-16079457
]
Chia-Ping Tsai commented on HBASE-18345:
----------------------------------------
I can't reproduce this error on my machine. Does it happen frequently?
> TestCanaryTool fails on branch-1 (branch-1.4)
> ---------------------------------------------
>
> Key: HBASE-18345
> URL: https://issues.apache.org/jira/browse/HBASE-18345
> Project: HBase
> Issue Type: Bug
> Reporter: Andrew Purtell
> Fix For: 1.4.0, 1.5.0
>
>
> Incorrect mocking, easy fix
> Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 67.898 sec
> <<< FAILURE! - in org.apache.hadoop.hbase.tool.TestCanaryTool
> testReadTableTimeouts(org.apache.hadoop.hbase.tool.TestCanaryTool) Time
> elapsed: 11.727 sec <<< FAILURE!
> org.mockito.exceptions.verification.junit.ArgumentsAreDifferent:
> Argument(s) are different! Wanted:
> mockAppender.doAppend(
> <custom argument matcher>
> );
> -> at
> org.apache.hadoop.hbase.tool.TestCanaryTool.testReadTableTimeouts(TestCanaryTool.java:150)
> Actual invocation has different arguments:
> mockAppender.doAppend(
> org.apache.log4j.spi.LoggingEvent@7ed49a7f
> );
> -> at
> org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> at
> org.apache.hadoop.hbase.tool.TestCanaryTool.testReadTableTimeouts(TestCanaryTool.java:150)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)