@Test
  public void testDisableBackgroundUpdater() throws IOException, SQLException {

    mySqlConfigProps.setProperty(UPDATER_POLLING_INTERVAL_SECONDS, "0");
    mySqlAccountService = getAccountService();
    assertEquals("Background account updater thread should not be started", 0,
        numThreadsByThisName(MySqlAccountService.MYSQL_ACCOUNT_UPDATER_PREFIX));
  }
Tests disabling of background updater by setting {@link MySqlAccountServiceConfig#UPDATER_POLLING_INTERVAL_SECONDS} to 0.
ambry-account/src/test/java/com/github/ambry/account/MySqlAccountServiceTest.java