Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: ensure leader is still valid in reelection test #15267

Merged
merged 1 commit into from
Nov 16, 2022

Commits on Nov 16, 2022

  1. test: ensure leader is still valid in reelection test

    The `TestLeader_Reelection` test waits for a leader to be elected and then makes
    some other assertions. But it implcitly assumes that there's no failure of
    leadership before shutting down the leader, which can lead to a panic in the
    tests. Assert there's still a leader before the shutdown.
    tgross committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    471ebc6 View commit details
    Browse the repository at this point in the history