SERVER-138978ClosedFixed
Wait for mongos primary discovery after failover in live_shard_logical_initial_sync
On master, the [test|https://github.com/10gen/mongo/blob/master/jstests/sharding/live_shard_logical_initial_sync.js#L29-L31] still [writes|https://github.com/10gen/mongo/blob/f826fc5db8671a18184620430bff15e446f722b3/jstests/sharding/libs/sharding_state_test.js#L107] immediately after the [failover helper|https://github.com/10gen/mongo/blob/master/jstests/sharding/libs/sharding_state_test.js#L82-L93] returns. The helper waits for replica-set readiness, but not for mongos to recognize the new p