public static ConfigurableResource parseResourceConfigValue(String value)
      throws AllocationConfigurationException {
    return parseResourceConfigValue(value, Long.MAX_VALUE);
  }
@Test
  public void testDuplicateVcoresDefinitionPercentage() throws Exception {
    expectInvalidResourcePercentage("cpu");
    parseResourceConfigValue("50% memory, 50% 100%cpu");
  }