Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9C3DA9FC8 for ; Mon, 4 Jun 2012 23:01:24 +0000 (UTC) Received: (qmail 98604 invoked by uid 500); 4 Jun 2012 23:01:24 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 98565 invoked by uid 500); 4 Jun 2012 23:01:24 -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 98442 invoked by uid 99); 4 Jun 2012 23:01:24 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jun 2012 23:01:24 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 4162E1404B9 for ; Mon, 4 Jun 2012 23:01:24 +0000 (UTC) Date: Mon, 4 Jun 2012 23:01:24 +0000 (UTC) From: "Aaron T. Myers (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1062718824.36737.1338850884271.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1235482121.18899.1334260520550.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-3266) DFSTestUtil#waitCorruptReplicas doesn't sleep between checks MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-3266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13288979#comment-13288979 ] Aaron T. Myers commented on HDFS-3266: -------------------------------------- +1, the latest patch looks good to me. I'm going to commit this momentarily. > DFSTestUtil#waitCorruptReplicas doesn't sleep between checks > ------------------------------------------------------------ > > Key: HDFS-3266 > URL: https://issues.apache.org/jira/browse/HDFS-3266 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 2.0.0-alpha > Reporter: Aaron T. Myers > Assignee: madhukara phatak > Priority: Minor > Labels: newbie > Attachments: HDFS-3266-1.patch, HDFS-3266.patch > > > DFSTestUtil#waitCorruptReplicas runs a loop waiting for an expected number of corrupt replicas. Unfortunately, it doesn't sleep between iterations of this loop, causing tests to occasionally fail spuriously. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira