[
https://issues.apache.org/jira/browse/HBASE-18345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Purtell resolved HBASE-18345.
------------------------------------
Resolution: Cannot Reproduce
Fix Version/s: (was: 1.5.0)
(was: 1.4.0)
Only happened on one dev box of several. I spent about an hour trying to figure
the difference and then decided to clear the maven cache. Made no other
changes. Test now passes everywhere.
> 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
>
> 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)