@Test
  public void maxValuesForMajor() throws IOException {
    long[] minTimestamps = new long[] { Long.MIN_VALUE, -100 };
    long[] maxTimestamps = new long[] { -8, Long.MAX_VALUE };
    long[] sizes = new long[] { 0, 1 };

    compactEquals(Long.MAX_VALUE, sfCreate(minTimestamps, maxTimestamps, sizes),
      new long[] { 0, 1 }, new long[] { Long.MIN_VALUE, -4611686018427387903L, 0,
        4611686018427387903L, 9223372036854775806L },
      true, true);
  }
Major compaction with maximum values
@throws IOException with error
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestDateTieredCompactionPolicyOverflow.java