Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 99DC5918E for ; Thu, 4 Oct 2012 22:03:48 +0000 (UTC) Received: (qmail 59736 invoked by uid 500); 4 Oct 2012 22:03:47 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 59696 invoked by uid 500); 4 Oct 2012 22:03:47 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 59649 invoked by uid 99); 4 Oct 2012 22:03:47 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Oct 2012 22:03:47 +0000 Date: Fri, 5 Oct 2012 09:03:47 +1100 (NCT) From: "Gopal V (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <1409534422.2559.1349388227710.JavaMail.jiratomcat@arcas> In-Reply-To: <1465718409.151347.1349131387581.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (MAPREDUCE-4697) TestMapredHeartbeat fails assertion on HeartbeatInterval 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/MAPREDUCE-4697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gopal V updated MAPREDUCE-4697: ------------------------------- Release Note: Replicate math for getNextHeartbeatInterval() in the test-case to ensure MRConstants changes do not break test-case. Status: Patch Available (was: Open) Replace constant in the test case with a calculated value so that the test-case will no longer go out of date when MRConstants.HEARTBEAT_INTERVAL_MIN is changed. > TestMapredHeartbeat fails assertion on HeartbeatInterval > -------------------------------------------------------- > > Key: MAPREDUCE-4697 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4697 > Project: Hadoop Map/Reduce > Issue Type: Bug > Affects Versions: 1.1.1 > Reporter: Gopal V > Assignee: Gopal V > Priority: Minor > Attachments: mapreduce-4697.patch > > > TestMapredHeartbeat fails test on heart beat interval > {code} > FAILED > expected:<300> but was:<500> > junit.framework.AssertionFailedError: expected:<300> but was:<500> > at org.apache.hadoop.mapred.TestMapredHeartbeat.testJobDirCleanup(TestMapredHeartbeat.java:68) > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira