@Override
  public long runFrequency(TimeUnit unit) {
    return conf.getTimeDuration(MetastoreHousekeepingLeaderTestBase.METASTORE_THREAD_TASK_FREQ_CONF,
            0, unit);
  }
An implementation of MetastoreTaskThread for testing metastore leader config.
itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/RemoteMetastoreTaskThreadTestImpl2.java