hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-18813) TestCanaryTool fails on branch-1 / branch-1.4
Date Wed, 13 Sep 2017 23:16:00 GMT
Andrew Purtell created HBASE-18813:
--------------------------------------

             Summary: TestCanaryTool fails on branch-1 / branch-1.4 
                 Key: HBASE-18813
                 URL: https://issues.apache.org/jira/browse/HBASE-18813
             Project: HBase
          Issue Type: Bug
            Reporter: Andrew Purtell


Mocking error

{noformat}
Running org.apache.hadoop.hbase.tool.TestCanaryTool
Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 77.873 sec <<< FAILURE!
- in org.apache.hadoop.hbase.tool.TestCanaryTool
testReadTableTimeouts(org.apache.hadoop.hbase.tool.TestCanaryTool)  Time elapsed: 13.845 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@7f5fcfe9
);
-> 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)


Results :

Failed tests: 
  TestCanaryTool.testReadTableTimeouts:150 
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@7f5fcfe9
);
-> at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66)
{noformat}




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message