Description
Many of the tests are often slow O(5 seconds) due to the race between the scheduler detecting the leader and the master detecting that it is the leader.
When the scheduler wins and the master drops the authentication request (because it's not yet leading), the scheduler retries after 5 seconds.
A few possible solutions here:
1. Have each test wait for Master::detected (this will bloat a lot of the tests).
2. Have StartMaster() wait for Master::detected, this is cleaner.