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 E78CE200CA7 for ; Wed, 31 May 2017 04:16:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E6186160BDC; Wed, 31 May 2017 02:16:09 +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 38FFA160BC9 for ; Wed, 31 May 2017 04:16:09 +0200 (CEST) Received: (qmail 90595 invoked by uid 500); 31 May 2017 02:16:07 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 90584 invoked by uid 99); 31 May 2017 02:16:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2017 02:16:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id C9AE5C061B for ; Wed, 31 May 2017 02:16:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.502 X-Spam-Level: X-Spam-Status: No, score=-99.502 tagged_above=-999 required=6.31 tests=[KAM_NUMSUBJECT=0.5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 9BQY2Urwhopg for ; Wed, 31 May 2017 02:16:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 5312F5FB8F for ; Wed, 31 May 2017 02:16:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 944F8E0C0D for ; Wed, 31 May 2017 02:16:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 19CF721B57 for ; Wed, 31 May 2017 02:16:04 +0000 (UTC) Date: Wed, 31 May 2017 02:16:04 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-18089) TestScannerHeartbeatMessages fails in branch-1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 31 May 2017 02:16:10 -0000 [ https://issues.apache.org/jira/browse/HBASE-18089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030502#comment-16030502 ] Ted Yu commented on HBASE-18089: -------------------------------- For the 2nd part of testImportanceOfHeartbeats : {code} HeartbeatRPCServices.heartbeatsEnabled = false; try { testCallable.call(); } catch (Exception e) { return; {code} What might have happened where the test failed was that the call() returned earlier than an exception could be thrown. > TestScannerHeartbeatMessages fails in branch-1 > ---------------------------------------------- > > Key: HBASE-18089 > URL: https://issues.apache.org/jira/browse/HBASE-18089 > Project: HBase > Issue Type: Test > Reporter: Ted Yu > Assignee: huaxiang sun > Attachments: test-heartbeat-6860.out > > > From https://builds.apache.org/job/PreCommit-HBASE-Build/6860/artifact/patchprocess/patch-unit-hbase-server.txt : > {code} > testScannerHeartbeatMessages(org.apache.hadoop.hbase.regionserver.TestScannerHeartbeatMessages) Time elapsed: 2.376 sec <<< FAILURE! > java.lang.AssertionError: Heartbeats messages are disabled, an exception should be thrown. If an exception is not thrown, the test case is not testing the importance of heartbeat messages > at org.junit.Assert.fail(Assert.java:88) > at org.apache.hadoop.hbase.regionserver.TestScannerHeartbeatMessages.testImportanceOfHeartbeats(TestScannerHeartbeatMessages.java:237) > at org.apache.hadoop.hbase.regionserver.TestScannerHeartbeatMessages.testScannerHeartbeatMessages(TestScannerHeartbeatMessages.java:207) > {code} > Similar test failure can be observed in https://builds.apache.org/job/PreCommit-HBASE-Build/6852/artifact/patchprocess/patch-unit-hbase-server.txt -- This message was sent by Atlassian JIRA (v6.3.15#6346)