@Test
public void testConversionWhenInvalidPlacementRulesIgnored()
    throws Exception {

  FSConfigToCSConfigConverterParams params = createDefaultParamsBuilder()
      .withClusterResource(CLUSTER_RESOURCE_STRING)
      .withFairSchedulerXmlConfig(FS_INVALID_PLACEMENT_RULES_XML)
      .build();
  ConversionOptions conversionOptions = createDefaultConversionOptions();
  conversionOptions.setNoTerminalRuleCheck(true);
  converter = new FSConfigToCSConfigConverter(ruleHandler,
      conversionOptions);
  converter.convert(params);
  // expected: no exception
}