You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Owen O'Malley (JIRA)" <ji...@apache.org> on 2008/09/29 07:10:44 UTC

[jira] Commented: (HADOOP-4297) Enable Java assertions when running tests

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

Owen O'Malley commented on HADOOP-4297:
---------------------------------------

+1 for enabling assertions during testing.

> Enable Java assertions when running tests
> -----------------------------------------
>
>                 Key: HADOOP-4297
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4297
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 0.19.0, 0.20.0
>            Reporter: Yoram Kulbak
>
> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.