OneSizeFitsQuorum commented on code in PR #10917:
URL: https://github.com/apache/iotdb/pull/10917#discussion_r1299932434
##########
iotdb-core/consensus/src/test/java/org/apache/iotdb/consensus/iot/StabilityTest.java:
##########
@@ -89,6 +90,58 @@ public void allTest() throws Exception {
snapshotUpgradeTest();
}
+ @Test
+ public void addConsensusGroup() {
+ try {
+ consensusImpl.createLocalPeer(
+ dataRegionId,
+ Collections.singletonList(new Peer(dataRegionId, 1, new
TEndPoint("0.0.0.0", 6667))));
+ } catch (ConsensusException e) {
+ throw new RuntimeException(e);
Review Comment:
assert fail?
##########
iotdb-core/consensus/src/test/java/org/apache/iotdb/consensus/iot/StabilityTest.java:
##########
@@ -89,6 +90,58 @@ public void allTest() throws Exception {
snapshotUpgradeTest();
}
+ @Test
+ public void addConsensusGroup() {
Review Comment:
Put all tests in the alltest function, because frequent restarts will cause
a can not bind socket error
--
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]