The import collection logic on a secondary communicates its progress to the primary in a thread separate from the oplog application pool. This change was made in
SERVER-51528. Occasionally, we have seen the secondary_dryrun_vote_timeout.js test fail because the primary did not receive the vote request from the secondary. We can make this test more robust by making the test wait for the secondary to vote for the import before waiting for acknowledgement on the primary.