You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "jay vyas (JIRA)" <ji...@apache.org> on 2014/03/04 00:10:21 UTC
[jira] [Updated] (HADOOP-3679) calls to junit Assert::assertEquals
invert arguments, causing misleading error messages, other minor
improvements.
[ https://issues.apache.org/jira/browse/HADOOP-3679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jay vyas updated HADOOP-3679:
-----------------------------
Summary: calls to junit Assert::assertEquals invert arguments, causing misleading error messages, other minor improvements. (was: calls to junit Assert::assertEquals invert arguments, causing misleading error messages)
> calls to junit Assert::assertEquals invert arguments, causing misleading error messages, other minor improvements.
> ------------------------------------------------------------------------------------------------------------------
>
> 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.2#6252)