@Test
  public void testFirstZeroLevelUnseqFileIsLarge() {
    IoTDBDescriptor.getInstance().getConfig().setMinCrossCompactionUnseqFileLevel(1);
    IoTDBDescriptor.getInstance()
        .getConfig()
        .setTargetCompactionFileSize(unseqResources.get(5).getTsFileSize());
    RewriteCrossSpaceCompactionSelector selector =
        new RewriteCrossSpaceCompactionSelector("", "", 0, null, new CompactionScheduleContext());
    List<CrossCompactionTaskResource> selected =
        selector.selectCrossSpaceTask(seqResources, unseqResources.subList(5, 6));
    Assert.assertEquals(1, selected.size());
  }
5 source seq files: [11,11] [12,12] [13,13] [14,14] [15,15]<br>
4 source unseq files: [7~9] [10~13] [14~16] [17~18]<br>
while the forth seq file is not close.<br>
selected seq file index: 1 2 3 <br>
selected unseq file index: 1 2
iotdb-core/datanode/src/test/java/org/apache/iotdb/db/storageengine/dataregion/compaction/cross/RewriteCompactionFileSelectorTest.java