Skip to content

test_switch_leader and test_switch_leader_async tests flap #207

Closed
@dpkp

Description

@dpkp

It looks like both tests assume that the cluster will failover leadership within a fixed sleep window (1 sec?). But this is not guaranteed. The tests should be changed to continue attempting to resend messages until they succeed, subject to some total wait timeout.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions