Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 13533 invoked from network); 27 Aug 2009 19:20:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Aug 2009 19:20:23 -0000 Received: (qmail 58520 invoked by uid 500); 27 Aug 2009 19:20:23 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 58466 invoked by uid 500); 27 Aug 2009 19:20:23 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 58456 invoked by uid 99); 27 Aug 2009 19:20:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 19:20:23 +0000 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; Thu, 27 Aug 2009 19:20:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 45FE8234C044 for ; Thu, 27 Aug 2009 12:19:59 -0700 (PDT) Message-ID: <1068667997.1251400799273.JavaMail.jira@brutus> Date: Thu, 27 Aug 2009 12:19:59 -0700 (PDT) From: "Konstantin Boudnik (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Commented: (HDFS-549) Allow non fault-inject specific tests execution with an explicit -Dtestcase=... setting In-Reply-To: <383011974.1250548395135.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HDFS-549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12748516#action_12748516 ] Konstantin Boudnik commented on HDFS-549: ----------------------------------------- I see your point, Nicholas. However, the use case for this JIRA was to be able to run a normal test in FI environment when such situation reveals bugs in the code. Well, the patch is easy to rollback if this would be an intention. > Allow non fault-inject specific tests execution with an explicit -Dtestcase=... setting > --------------------------------------------------------------------------------------- > > Key: HDFS-549 > URL: https://issues.apache.org/jira/browse/HDFS-549 > Project: Hadoop HDFS > Issue Type: Improvement > Components: build > Affects Versions: 0.21.0 > Reporter: Konstantin Boudnik > Assignee: Konstantin Boudnik > Fix For: 0.21.0 > > Attachments: HDFS-549.patch, HDFS-549.patch > > > It is currently impossible to run non fault-injection tests with fault-injected build. E.g. > {noformat} > ant run-test-hdfs-fault-inject -Dtestcase=TestFileCreation > {noformat} > because {{macro-test-runner}} does look for a specified test case only under {{src/test/aop}} folder if a fault injection tests are ran. This render the use of non fault injection tests impossible in the FI environment. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.