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 775B6110FC for ; Fri, 8 Aug 2014 20:23:12 +0000 (UTC) Received: (qmail 52944 invoked by uid 500); 8 Aug 2014 20:23:12 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 52873 invoked by uid 500); 8 Aug 2014 20:23:12 -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 52861 invoked by uid 99); 8 Aug 2014 20:23:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Aug 2014 20:23:12 +0000 Date: Fri, 8 Aug 2014 20:23:12 +0000 (UTC) From: "Mit Desai (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MAPREDUCE-6029) TestCommitterEventHandler fails in trunk 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-6029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mit Desai updated MAPREDUCE-6029: --------------------------------- Attachment: MAPREDUCE-6029.patch The test allows 100msec for a response, and if the node is too slow the test fails. 100msec is quite a bit of time, but I made it a 5 second wait. The test will only wait that long if it really takes that long for the event to be posted. If the event shows up sooner the timeout is short-circuited so there shouldn't be a lot of downside to making this much larger. > TestCommitterEventHandler fails in trunk > ---------------------------------------- > > Key: MAPREDUCE-6029 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6029 > Project: Hadoop Map/Reduce > Issue Type: Bug > Affects Versions: 3.0.0 > Reporter: Ted Yu > Assignee: Mit Desai > Attachments: MAPREDUCE-6029.patch > > > From https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1857/console : > {code} > Running org.apache.hadoop.mapreduce.v2.app.commit.TestCommitterEventHandler > Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.429 sec <<< FAILURE! - in org.apache.hadoop.mapreduce.v2.app.commit.TestCommitterEventHandler > testFailure(org.apache.hadoop.mapreduce.v2.app.commit.TestCommitterEventHandler) Time elapsed: 1.198 sec <<< FAILURE! > java.lang.AssertionError: null > at org.junit.Assert.fail(Assert.java:86) > at org.junit.Assert.assertTrue(Assert.java:41) > at org.junit.Assert.assertNotNull(Assert.java:621) > at org.junit.Assert.assertNotNull(Assert.java:631) > at org.apache.hadoop.mapreduce.v2.app.commit.TestCommitterEventHandler.testFailure(TestCommitterEventHandler.java:314) > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)