braft icon indicating copy to clipboard operation
braft copied to clipboard

support diasble election in unit-test

Open JayiceZ opened this issue 1 year ago • 0 comments

fix:: https://github.com/baidu/braft/issues/445

In unit-test, we should temporarily disable followers' election before stop the leader to ensure that the raft group will be no-leader state for a period of time deterministically

JayiceZ avatar May 31 '24 17:05 JayiceZ