feat(election-iomgr-refactor): extend handle_request_vote with role-based deny gate — task 3.2

This commit is contained in:
Rongsong Shen 2026-05-30 11:03:35 +00:00
parent e6135ea828
commit 6de4b3ff0e
4 changed files with 286 additions and 1 deletions

View file

@ -45,6 +45,7 @@ extern void test_ha_ctrlhello(void);
extern void test_ha_failover(void);
extern void test_ha_vote_send(void);
extern void test_ha_start_election_async(void);
extern void test_ha_vote_gate(void);
void setUp(void) { return; }
@ -159,6 +160,7 @@ int main(int argc, char* argv[])
TEST(test_ha_failover);
TEST(test_ha_vote_send);
TEST(test_ha_start_election_async);
TEST(test_ha_vote_gate);
return UNITY_END();
}