hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
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 GMT
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());



Mime
View raw message