public static ConfigurableResource parseResourceConfigValue(String value)
      throws AllocationConfigurationException {
    return parseResourceConfigValue(value, Long.MAX_VALUE);
  }
@Test
  public void testParseNewStyleDuplicateMemoryDefinitionPercentage()
      throws Exception {
    expectInvalidResourcePercentageNewStyle("40% 80%");
    parseResourceConfigValue("vcores = 75%, memory-mb = 40% 80%");
  }