@Test
public void testParseNewStyleResourceWithCustomResourceMemoryNegative()
    throws Exception {

  expectNegativeValueOfResource("memory");
  parseResourceConfigValue("vcores=2,memory-mb=-5120,test1=4");
}