Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-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 010C519FB0 for ; Thu, 14 Apr 2016 01:07:26 +0000 (UTC) Received: (qmail 42084 invoked by uid 500); 14 Apr 2016 01:07:25 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 42036 invoked by uid 500); 14 Apr 2016 01:07:25 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 42021 invoked by uid 99); 14 Apr 2016 01:07:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Apr 2016 01:07:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 737892C1F5C for ; Thu, 14 Apr 2016 01:07:25 +0000 (UTC) Date: Thu, 14 Apr 2016 01:07:25 +0000 (UTC) From: "Sunil G (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-4947) Test timeout is happening for TestRMWebServicesNodes 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/YARN-4947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15240348#comment-15240348 ] Sunil G commented on YARN-4947: ------------------------------- [~bibinchundatt] I think I was not very clear in explaining my point. Let me try again. Test cases like {{TestRMWebServicesNodes}} has to override {{isDrained}} to return hardcoded boolean to continue. I agree with reason here, because event never drained for these cases. So for any new test case similar to this, we always forced to override {{isDrained}}, which is not documented and easily to miss out. Pls correct me if I am wrong. So I was thinking abt the real fix went in for YARN-4893. Do we need to call {{drainEvents}} from MockRM, rather can we handle from each test case. Its a choice and its fine either ways.:) > Test timeout is happening for TestRMWebServicesNodes > ---------------------------------------------------- > > Key: YARN-4947 > URL: https://issues.apache.org/jira/browse/YARN-4947 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Bibin A Chundatt > Assignee: Bibin A Chundatt > Attachments: 0001-YARN-4947.patch > > > Testcase timeout for TestRMWebServicesNodes is happening after YARN-4893 > [timeout|https://builds.apache.org/job/PreCommit-YARN-Build/11044/testReport/] -- This message was sent by Atlassian JIRA (v6.3.4#6332)