You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2017/07/08 17:56:01 UTC

[jira] [Created] (HBASE-18345) TestCanaryTool fails on branch-1 (branch-1.4)

Andrew Purtell created HBASE-18345:
--------------------------------------

             Summary: 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)