hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo Nicholas Sze (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-4297) Enable Java assertions when running tests
Date Sat, 19 Jul 2014 06:45:39 GMT

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

Tsz Wo Nicholas Sze commented on HADOOP-4297:
---------------------------------------------

Java assert is currently on.  Let's add a test for it.

> Enable Java assertions when running tests
> -----------------------------------------
>
>                 Key: HADOOP-4297
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4297
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 0.19.0, 0.20.0
>            Reporter: Yoram Kulbak
>         Attachments: HADOOP-4297.patch, HADOOP-4297.patch
>
>
> A suggestion to enable Java assertions in the project's build xml when running tests.
I think this would improve the build quality.
> To enable assertions add the following snippets to the JUnit tasks in build.xml:
> <assertions>
>      <enable />
> </assertions>
> --
> For example:
> <junit ... >
>      ...
>     <assertions>
>         <enable />
>     </assertions>
> </junit>
>  



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message