@SuppressWarnings("deprecation")
@Test
public void testSiteContinuousSchedulingConversion() {

  yarnConfig.setBoolean(
      FairSchedulerConfiguration.CONTINUOUS_SCHEDULING_ENABLED, true);
  yarnConfig.setInt(
      FairSchedulerConfiguration.CONTINUOUS_SCHEDULING_SLEEP_MS, 666);
  converter.convertSiteProperties(yarnConfig, yarnConvertedConfig, false,
    false);
  assertTrue("Cont. scheduling", yarnConvertedConfig.getBoolean(
      CapacitySchedulerConfiguration.SCHEDULE_ASYNCHRONOUSLY_ENABLE, false));
  assertEquals("Scheduling interval", 666,
      yarnConvertedConfig.getInt(
          "yarn.scheduler.capacity.schedule-asynchronously" +
              ".scheduling-interval-ms", -1));
}