HBASE-9610 TestThriftServer.testAll failing; DEBUGGING
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1525310 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ee9eb6dbd3
commit
61e79ff6c9
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue