private int getCurrentCount(final String name, final int maybe, final ThriftMetrics metrics) {
    int currentCount = 0;
    try {
      metricsHelper.assertCounter(name, maybe, metrics.getSource());
      LOG.info("Shouldn't this be null? name=" + name + ", equals=" + maybe);
      currentCount = maybe;
    } catch (AssertionError e) {
      // Ignore
    }
    return currentCount;
  }
TODO: These counts are supposed to be zero but sometimes they are not, they are equal to the
passed in maybe. Investigate why. My guess is they are set by the test that runs just previous
to this one. Sometimes they are cleared. Sometimes not.
hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServer.java