Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 8582 invoked from network); 19 Oct 2009 19:32:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Oct 2009 19:32:23 -0000 Received: (qmail 48871 invoked by uid 500); 19 Oct 2009 19:32:22 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 48819 invoked by uid 500); 19 Oct 2009 19:32:22 -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 48714 invoked by uid 99); 19 Oct 2009 19:32:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2009 19:32:22 +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; Mon, 19 Oct 2009 19:32:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 869C4234C498 for ; Mon, 19 Oct 2009 12:31:59 -0700 (PDT) Message-ID: <1101984498.1255980719549.JavaMail.jira@brutus> Date: Mon, 19 Oct 2009 19:31:59 +0000 (UTC) From: "Konstantin Boudnik (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Commented: (HDFS-713) Need to properly check the type of the test class from an aspect In-Reply-To: <1385974464.1255738771420.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-713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12767469#action_12767469 ] Konstantin Boudnik commented on HDFS-713: ----------------------------------------- Here's the result of test-patch run: {noformat} There appear to be 104 release audit warnings before the patch and 104 release audit warnings after applying the patch. +1 overall. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. {noformat} > Need to properly check the type of the test class from an aspect > ---------------------------------------------------------------- > > Key: HDFS-713 > URL: https://issues.apache.org/jira/browse/HDFS-713 > Project: Hadoop HDFS > Issue Type: Test > Affects Versions: 0.22.0 > Reporter: Konstantin Boudnik > Assignee: Konstantin Boudnik > Fix For: 0.22.0 > > Attachments: HDFS-713.patch, HDFS-713.patch > > > While the number of test cases using injection is constantly increasing it brings in more and more new test classes. In the current pipeline testing infrastructure inheritance of the classes becomes more complicated as well. > The aspect for {{hflush()}} fault injection tests need to be more careful about casting of a test object and make sure that it is of a proper type beforehand. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.