@Test
  public void testGetMaxMetricForTaskTypeAndMetricNameMissingTask() {
    Map<Integer, TonyTaskData> taskDataMap = new TreeMap<>();
    TonyTaskData worker0Data = new TonyTaskData("worker", 0);

    taskDataMap.put(0, worker0Data);

    Assert.assertEquals(-1.0d,
        TonyUtils.getMaxMetricForTaskTypeAndMetricName(ImmutableMap.of("worker", taskDataMap), "ps",
        Constants.MAX_MEMORY_BYTES), 0);
  }
Worker 0 is missing metrics, but worker 1 has metrics; we should use worker 1's
max memory metrics.
test/com/linkedin/drelephant/tony/util/TonyUtilsTest.java