test(election-iomgr-refactor): add ha_repl_ack_received quorum/promotion unit tests — task 6.2

This commit is contained in:
Rongsong Shen 2026-05-30 13:42:41 +00:00
parent 0fdcd11e5f
commit 052c891ac0
3 changed files with 305 additions and 0 deletions

View file

@ -48,6 +48,7 @@ extern void test_ha_start_election_async(void);
extern void test_ha_vote_gate(void);
extern void test_ha_evaluate_committing(void);
extern void test_ha_repl_push(void);
extern void test_ha_repl_ack(void);
void setUp(void) { return; }
@ -165,6 +166,7 @@ int main(int argc, char* argv[])
TEST(test_ha_vote_gate);
TEST(test_ha_evaluate_committing);
TEST(test_ha_repl_push);
TEST(test_ha_repl_ack);
return UNITY_END();
}