Automated testing found a situation where we have 4 WALs in the replication table, but only expected to find 3. Thus, the test failed.
Looking at the master log, there shouldn't be any way that the test didn't see this log. My hunch is that the test accidentally removed one of the logs that should have been left in the expected set.
Need to revisit the logic to make sure it's solid.