Return-Path: X-Original-To: apmail-hbase-commits-archive@www.apache.org Delivered-To: apmail-hbase-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 92183101B4 for ; Sun, 22 Sep 2013 01:40:59 +0000 (UTC) Received: (qmail 77273 invoked by uid 500); 22 Sep 2013 01:40:59 -0000 Delivered-To: apmail-hbase-commits-archive@hbase.apache.org Received: (qmail 77247 invoked by uid 500); 22 Sep 2013 01:40:59 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 77240 invoked by uid 99); 22 Sep 2013 01:40:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Sep 2013 01:40:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Sep 2013 01:40:57 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 488232388A02; Sun, 22 Sep 2013 01:40:36 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1525311 - /hbase/branches/0.96/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServer.java Date: Sun, 22 Sep 2013 01:40:36 -0000 To: commits@hbase.apache.org From: stack@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20130922014036.488232388A02@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: stack Date: Sun Sep 22 01:40:35 2013 New Revision: 1525311 URL: http://svn.apache.org/r1525311 Log: HBASE-9610 TestThriftServer.testAll failing; DEBUGGING Modified: hbase/branches/0.96/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServer.java Modified: hbase/branches/0.96/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServer.java URL: http://svn.apache.org/viewvc/hbase/branches/0.96/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServer.java?rev=1525311&r1=1525310&r2=1525311&view=diff ============================================================================== --- hbase/branches/0.96/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServer.java (original) +++ hbase/branches/0.96/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServer.java Sun Sep 22 01:40:35 2013 @@ -160,9 +160,16 @@ public class TestThriftServer { * Tests if the metrics for thrift handler work correctly */ public void doTestThriftMetrics() throws Exception { + LOG.info("START doTestThriftMetrics"); Configuration conf = UTIL.getConfiguration(); ThriftMetrics metrics = getMetrics(conf); Hbase.Iface handler = getHandlerForMetricsTest(metrics, conf); + try { + metricsHelper.assertCounter("createTable_num_ops", 2, metrics.getSource()); + } catch (AssertionError e) { + // DEBUGGING + LOG.info("Got expected assertion error"); + } createTestTables(handler); dropTestTables(handler); metricsHelper.assertCounter("createTable_num_ops", 2, metrics.getSource());