@Override
      public boolean evaluate() throws Exception {
        try {
          return NoEOFWALStreamReader.count(FS, logPath, UTIL.getConfiguration())
              >= expectedEntries;
        } catch (IOException e) {
          return false;
        }
      }
Base class for testing serial replication.
hbase-server/src/test/java/org/apache/hadoop/hbase/replication/SerialReplicationTestBase.java