private Writer generateWALs(int writers, int entries, int leaveOpen) throws IOException {
    return generateWALs(writers, entries, leaveOpen, 7);
  }
See HBASE-27644, typically we should not have empty WALEdit but we should be able to process
it, instead of losing data after it.
hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestWALSplit.java