The test secondary_reads_timestamp_visibility.js uses awaitReplication to wait for the secondary to catch up to the majority commit point. This can cause failures return incorrect results when doing majority reads on the secondary.
The test should be modified to use awaitLastOpCommitted instead, which guarantees the secondary has committed the last oplog on the primary.