public void incrementRecreateAndSyncFailureCounter() {
    recreateAndSyncFailureCounter = getCounter(recreateAndSyncFailureCounter, recreateAndSyncFailureCounterName);
    recreateAndSyncFailureCounter.inc();
  }
@Test
  void testIncrementRecreateAndSyncFailureCounter() {
    hoodieSyncMetrics.incrementRecreateAndSyncFailureCounter();
    String metricsName = hoodieSyncMetrics.getMetricsName("counter", "meta_sync.recreate_table.failure");
    long count = metrics.getRegistry().getCounters().get(metricsName).getCount();
    assertEquals(1, count, "recreate_table failure counter value should be 1");
  }