This is an automated email from the ASF dual-hosted git repository.
jinrongtong pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git
The following commit(s) were added to refs/heads/develop by this push:
new bf3344386 [ISSUE #6073] remove static reference
bf3344386 is described below
commit bf3344386b1ce7e9b9dfb46b8f25bc2ddb6c2afa
Author: hardyfish <[email protected]>
AuthorDate: Thu Feb 16 08:37:34 2023 +0800
[ISSUE #6073] remove static reference
---
.../org/apache/rocketmq/test/autoswitchrole/AutoSwitchRoleBase.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/test/src/test/java/org/apache/rocketmq/test/autoswitchrole/AutoSwitchRoleBase.java
b/test/src/test/java/org/apache/rocketmq/test/autoswitchrole/AutoSwitchRoleBase.java
index 5e5d84c8b..f9743f2ec 100644
---
a/test/src/test/java/org/apache/rocketmq/test/autoswitchrole/AutoSwitchRoleBase.java
+++
b/test/src/test/java/org/apache/rocketmq/test/autoswitchrole/AutoSwitchRoleBase.java
@@ -117,7 +117,7 @@ public class AutoSwitchRoleBase {
final BrokerController brokerController = new
BrokerController(brokerConfig, nettyServerConfig, new NettyClientConfig(),
storeConfig);
assertTrue(brokerController.initialize());
brokerController.start();
- this.brokerList.add(brokerController);
+ brokerList.add(brokerController);
await().atMost(20, TimeUnit.SECONDS).until(() -> (expectedRole ==
BrokerRole.SYNC_MASTER) ==
brokerController.getReplicasManager().isMasterState());
return brokerController;
}