[ 
https://issues.apache.org/jira/browse/HADOOP-3679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13911048#comment-13911048
 ] 

jay vyas commented on HADOOP-3679:
----------------------------------

Okay, I've done an initial look at this and found 

{noformat}
TestDataByteBuffers
TestStat 
TestIOUtils 
TestRPC 
nfs3/TestFileHandle.java
util/TestGenericsUtil.java
TestNetworkTopologyWithNodeGroup.java
TestText.java
TestTFileComparator2 
TestPath.java
TestIdUserGroup.java
TestXDR.java
{noformat}

> calls to junit Assert::assertEquals invert arguments, causing misleading 
> error messages
> ---------------------------------------------------------------------------------------
>
>                 Key: HADOOP-3679
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3679
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: test
>            Reporter: Chris Douglas
>            Priority: Minor
>
> JUnit Assert::assertEquals takes its expected and actual arguments in a 
> particular order, but many unit tests invert them. The error message from a 
> failed assertion can be misleading.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to