xingtanzjr commented on code in PR #9818:
URL: https://github.com/apache/iotdb/pull/9818#discussion_r1190010902
##########
server/src/test/java/org/apache/iotdb/db/engine/storagegroup/TsFileResourceListTest.java:
##########
@@ -212,4 +213,113 @@ public void testCount() {
tsFileResourceList.getHeader(),
tsFileResources.get(tsFileResources.size() - 1));
Assert.assertEquals(tsFileResourceList.getTail(), tsFileResources.get(0));
}
+
+ /** Seq files: 1-1, 1-5, 1-6, 2-4, 3-3, 4-7, 4-9, 5-8 */
+ @Test
+ public void testKeepOrderInsertWithSameTimestampAndDifferentVersion() throws
IOException {
Review Comment:
It is better to add more test cases here
--
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]