SteveYurongSu commented on code in PR #11478:
URL: https://github.com/apache/iotdb/pull/11478#discussion_r1382942229


##########
iotdb-core/datanode/src/test/java/org/apache/iotdb/db/storageengine/dataregion/TsFileResourceProgressIndexTest.java:
##########
@@ -218,4 +229,100 @@ public void testHybridProgressIndex() {
     Assert.assertFalse(
         hybridProgressIndex.isAfter(new RecoverProgressIndex(1, new 
SimpleProgressIndex(2, 21))));
   }
+
+  @Test
+  public void testProgressIndexTopologicalSort() {
+    Random random = new Random();
+    List<ProgressIndex> progressIndexList = new ArrayList<>();
+
+    int ioTProgressIndexNum = 10, peerIdRange = 3, searchIndexRange = 1000;

Review Comment:
   Make all the number larger. Random number is recommanded.



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