fanhualta commented on a change in pull request #3191:
URL: https://github.com/apache/iotdb/pull/3191#discussion_r640790678
##########
File path:
cluster/src/test/java/org/apache/iotdb/cluster/log/snapshot/FileSnapshotTest.java
##########
@@ -301,6 +301,6 @@ public void testInstallPartial()
for (int i = 0; i < 9; i++) {
assertEquals(i, loadedFiles.get(i).getMaxPlanIndex());
}
- assertEquals(0, processor.getUnSequenceFileList().size());
+ assertEquals(1, processor.getUnSequenceFileList().size());
Review comment:
Because the logic of judging whether the file exists according to the
plan index has changed, the file is not considered to exist when the index plan
is equal to. So in the test `testInstallPartial`, there will be one file to be
judged as an unseq file.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]