test(controller): To pass ControllerManagerTest in Windows, we forbid the controller to notify the brokers when their roles have been changed.

1. To pass `ControllerManagerTest` in Windows,  we forbid the controller to notify the brokers when their roles have been changed.
This commit is contained in:
TheR1sing3un
2023-03-14 02:52:20 +08:00
committed by rongtong
parent dcf51d715c
commit 483ba12cae
@@ -76,6 +76,7 @@ public class ControllerManagerTest {
config.setMappedFileSize(10 * 1024 * 1024);
config.setEnableElectUncleanMaster(true);
config.setScanNotActiveBrokerInterval(1000L);
config.setNotifyBrokerRoleChanged(false);
final NettyServerConfig serverConfig = new NettyServerConfig();