Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 97215 invoked from network); 19 Nov 2008 19:33:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Nov 2008 19:33:42 -0000 Received: (qmail 15499 invoked by uid 500); 19 Nov 2008 19:33:44 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 15474 invoked by uid 500); 19 Nov 2008 19:33:44 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 15463 invoked by uid 99); 19 Nov 2008 19:33:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Nov 2008 11:33:44 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Nov 2008 19:32:30 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7C112234C29A for ; Wed, 19 Nov 2008 11:32:44 -0800 (PST) Message-ID: <2007674320.1227123164507.JavaMail.jira@brutus> Date: Wed, 19 Nov 2008 11:32:44 -0800 (PST) From: "dhruba borthakur (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-4297) Enable Java assertions when running tests In-Reply-To: <326722737.1222642485207.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-4297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12649142#action_12649142 ] dhruba borthakur commented on HADOOP-4297: ------------------------------------------ Once this patch is commited, is there a way (through command line parameters) to run the unit tests without assertions enabled? I agree with Doug that we should run unit tests without assertions enabled for a build that is targeted as a release candidate. > 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 > Fix For: 0.20.0 > > 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: > > > > -- > For example: > > ... > > > > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.