diff --git a/components/butterfly/tests/rumor/election.rs b/components/butterfly/tests/rumor/election.rs index 06a2bff2f3..9dc938de92 100644 --- a/components/butterfly/tests/rumor/election.rs +++ b/components/butterfly/tests/rumor/election.rs @@ -89,7 +89,6 @@ fn five_members_elect_a_new_leader_when_the_old_one_dies() { }); } -#[ignore = "Leader Election Algorithm Changed. Need to revisit this test."] #[test] #[allow(clippy::cognitive_complexity)] fn five_members_elect_a_new_leader_when_they_are_quorum_partitioned() { @@ -132,7 +131,9 @@ fn five_members_elect_a_new_leader_when_they_are_quorum_partitioned() { net.partition(0..2, 2..5); assert_wait_for_health_of_mlr!(net, [0..2, 2..5], Health::Confirmed); net[0].restart_elections_rsw_mlr_rhw_msr(FeatureFlag::empty()); - // net[4].restart_elections_rsw_mlr_rhw_msr(FeatureFlag::empty()); + net[2].restart_elections_rsw_mlr_rhw_msr(FeatureFlag::empty()); + net[3].restart_elections_rsw_mlr_rhw_msr(FeatureFlag::empty()); + net[4].restart_elections_rsw_mlr_rhw_msr(FeatureFlag::empty()); assert_wait_for_election_status!(net, 0, "witcher.prod", ElectionStatus::NoQuorum); assert_wait_for_election_status!(net, 1, "witcher.prod", ElectionStatus::NoQuorum); assert_wait_for_election_status!(net, 2, "witcher.prod", ElectionStatus::Finished);