[
https://issues.apache.org/jira/browse/HADOOP-4297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14295043#comment-14295043
]
Hudson commented on HADOOP-4297:
--------------------------------
FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #87 (See
[https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/87/])
HADOOP-4297. Enable Java assertions when running tests. Contributed by Tsz Wo
Nicholas Sze. (wheat9: rev 543064e89d2ff2d7eb7727664c3f3aa8e9b5bdef)
* hadoop-common-project/hadoop-common/CHANGES.txt
*
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/test/TestJUnitSetup.java
> 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
> Assignee: Tsz Wo Nicholas Sze
> Fix For: 2.7.0
>
> Attachments: HADOOP-4297.patch, HADOOP-4297.patch,
> c4297_20140719.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.3.4#6332)