@VisibleForTesting
  public long getRollingMonitorInterval() {
    return rollingMonitorInterval;
  }
@Test
  public void testRollingMonitorIntervalDefault() {
    LogAggregationService logAggregationService =
        new LogAggregationService(dispatcher, this.context, this.delSrvc,
            super.dirsHandler);
    logAggregationService.init(this.conf);

    long interval = logAggregationService.getRollingMonitorInterval();
    assertEquals(-1L, interval);
  }