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 "Hudson (JIRA)" <ji...@apache.org> on 2018/04/24 20:51:06 UTC

[jira] [Commented] (HADOOP-14415) Use java.lang.AssertionError instead of junit.framework.AssertionFailedError

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

Hudson commented on HADOOP-14415:
---------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14057 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/14057/])
HADOOP-14415. Use java.lang.AssertionError instead of (xyao: rev cdf35ee06bd2806e5fbe677b2c481536e68cbd6f)
* (edit) hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFsShell.java
* (edit) hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
* (edit) hadoop-tools/hadoop-openstack/src/test/java/org/apache/hadoop/fs/swift/TestSwiftFileSystemContract.java


> Use java.lang.AssertionError instead of junit.framework.AssertionFailedError
> ----------------------------------------------------------------------------
>
>                 Key: HADOOP-14415
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14415
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Akira Ajisaka
>            Assignee: Chen Liang
>            Priority: Minor
>              Labels: newbie
>             Fix For: 3.0.0-alpha4
>
>         Attachments: HADOOP-14415.001.patch
>
>
> When reviewing HADOOP-14180, I found some test codes throw junit.framework.AssertionFailedError. org.junit.Assert no longer throws AssertionFailedError, so we should use AssertionError instead of AssertionFailedError.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org