public static ConfigurableResource parseResourceConfigValue(String value)
      throws AllocationConfigurationException {
    return parseResourceConfigValue(value, Long.MAX_VALUE);
  }
@Test
  public void testMemoryAndCpuPercentageNegativeValue() throws Exception {
    expectNegativePercentageOldStyle();
    parseResourceConfigValue("-20% memory, -10% cpu");
  }