forked from lei.chen/myxce
feat(election-iomgr-refactor): extend handle_request_vote with role-based deny gate — task 3.2
This commit is contained in:
parent
e6135ea828
commit
6de4b3ff0e
4 changed files with 286 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue