fanhualta commented on a change in pull request #664: [IOTDB-333] Storage group 
divide by time range
URL: https://github.com/apache/incubator-iotdb/pull/664#discussion_r360871268
 
 

 ##########
 File path: 
server/src/test/java/org/apache/iotdb/db/engine/modification/DeletionFileNodeTest.java
 ##########
 @@ -243,12 +254,20 @@ public void testDeleteInOverflowFile()
     };
 
     File fileNodeDir = new 
File(DirectoryManager.getInstance().getNextFolderForUnSequenceFile(), 
processorName);
-    File[] modFiles = fileNodeDir.listFiles((dir, name)
-        -> name.endsWith(ModificationFile.FILE_SUFFIX));
-    assertEquals(1, modFiles.length);
+    List<File> modFiles = new ArrayList<>();
+    for(File directory : fileNodeDir.listFiles()){
+      if(directory.isDirectory()){
 
 Review comment:
   AssertTrue(directory.isDirectory());

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


With regards,
Apache Git Services

Reply via email to