jt2594838 commented on code in PR #19213:
URL: https://github.com/apache/iotdb/pull/19213#discussion_r4533389031


##########
integration-test/src/test/java/org/apache/iotdb/db/it/IoTDBCustomizedClusterIT.java:
##########
@@ -294,23 +299,43 @@ public void testWalThrottleStuck()
     }
   }
 
+  // Start a valid 1C1D cluster, then give only the DataNode an unsupported 
persisted consensus
+  // protocol and verify that the DataNode exits with ILLEGAL_PARAMETER.
   @Category(DailyIT.class)
   @Test
-  public void testStartWithWrongConfig() throws InterruptedException {
+  public void testStartWithWrongConfig() throws Exception {

Review Comment:
   Starting from valid shared configuration and then modifying only the stopped 
DataNode isolates the exit status this test intends to verify. Previously the 
common setting also invalidated ConfigNode; after ConfigNode failed startup, 
DataNode could not fetch system configuration and exited with a secondary 
startup error, producing 255 in the low byte instead of ILLEGAL_PARAMETER (47). 
The earlier failure followed the startup path and was not random ordering.



-- 
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]

Reply via email to