fix: pytest wait_ready implementation
Waiting for a valid leader_id
on a node isn't enough. It may already
have one, but still be a Learner. Instead, the fixture should wait until
the node is promoted to voter.
Waiting for a valid leader_id
on a node isn't enough. It may already
have one, but still be a Learner. Instead, the fixture should wait until
the node is promoted to voter.