@Test(expected = AssertionError.class)
  public void testTimedAverageMetricsWindowSizeZero() {
    generateTimedAverageMetrics(0, 100, 2, 50, 50, 0, 50);
  }
Test that TimedAverageMetrics throws an exception if the window size is 0.
llap-server/src/test/org/apache/hadoop/hive/llap/metrics/TestLlapDaemonExecutorMetrics.java