LebronAl commented on a change in pull request #4079:
URL: https://github.com/apache/iotdb/pull/4079#discussion_r737206310
##########
File path:
cluster/src/test/java/org/apache/iotdb/cluster/server/member/MetaGroupMemberTest.java
##########
@@ -338,19 +343,20 @@ public void applyRemoveNode(RemoveNodeLog removeNodeLog) {
}
@Override
- public DataClusterServer getDataClusterServer() {
+ public DataGroupEngine getDataGroupEngine() {
return mockDataClusterServer
- ? MetaGroupMemberTest.this.dataClusterServer
- : super.getDataClusterServer();
+ ? MetaGroupMemberTest.this.dataGroupEngine
+ : ClusterIoTDB.getInstance().getDataGroupEngine();
}
- @Override
- public DataHeartbeatServer getDataHeartbeatServer() {
- return new DataHeartbeatServer(thisNode, dataClusterServer) {
- @Override
- public void start() {}
- };
- }
+ // TODO we remove a do-nothing DataHeartbeat here.
+ // @Override
+ // public DataHeartbeatServer getDataHeartbeatServer() {
+ // return new DataHeartbeatServer(thisNode,
dataGroupServiceImpls) {
+ // @Override
+ // public void start() {}
+ // };
+ // }
Review comment:
done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]