Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 41598200BB3 for ; Wed, 2 Nov 2016 15:54:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3FF0F160AEA; Wed, 2 Nov 2016 14:54:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 87906160AFB for ; Wed, 2 Nov 2016 15:53:59 +0100 (CET) Received: (qmail 44891 invoked by uid 500); 2 Nov 2016 14:53:58 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 44862 invoked by uid 99); 2 Nov 2016 14:53:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2016 14:53:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 94C142C1F54 for ; Wed, 2 Nov 2016 14:53:58 +0000 (UTC) Date: Wed, 2 Nov 2016 14:53:58 +0000 (UTC) From: "Bibin A Chundatt (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-5815) Random failure TestApplicationPriority.testOrderOfActivatingThePriorityApplicationOnRMRestart MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 02 Nov 2016 14:54:00 -0000 [ https://issues.apache.org/jira/browse/YARN-5815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15629193#comment-15629193 ] Bibin A Chundatt commented on YARN-5815: ---------------------------------------- [~varun_saxena] Sleep reduced to 50 sleep 50 times. {quote} Shouldn't we have another loop checking for the conditions which are failing instead of moving the loop down ? {quote} Had found that issue.Attached patch handling comments. > Random failure TestApplicationPriority.testOrderOfActivatingThePriorityApplicationOnRMRestart > --------------------------------------------------------------------------------------------- > > Key: YARN-5815 > URL: https://issues.apache.org/jira/browse/YARN-5815 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Bibin A Chundatt > Assignee: Bibin A Chundatt > Attachments: YARN-5815.0001.patch, YARN-5815.0002.patch, YARN-5815.0003.patch > > > {noformat} > java.lang.AssertionError: expected:<2> but was:<0> > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.failNotEquals(Assert.java:743) > at org.junit.Assert.assertEquals(Assert.java:118) > at org.junit.Assert.assertEquals(Assert.java:555) > at org.junit.Assert.assertEquals(Assert.java:542) > at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.TestApplicationPriority.testOrderOfActivatingThePriorityApplicationOnRMRestart(TestApplicationPriority.java:707) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org