liyuheng55555 commented on code in PR #12856:
URL: https://github.com/apache/iotdb/pull/12856#discussion_r1669651154


##########
iotdb-core/datanode/src/test/java/org/apache/iotdb/db/storageengine/dataregion/wal/recover/WALRepairWriterTest.java:
##########
@@ -69,8 +69,8 @@ public void testEmptyFile() throws IOException {
     long firstSearchIndex = 
WALFileUtils.parseStartSearchIndex(logFile.getName());
     WALMetaData walMetaData = new WALMetaData(firstSearchIndex, new 
ArrayList<>(), new HashSet<>());
     // recover
-    WALRecoverWriter walRecoverWriter = new WALRecoverWriter(logFile);
-    walRecoverWriter.recover(walMetaData);
+    WALRepairWriter walRecoverWriter = new WALRepairWriter(logFile);
+    walRecoverWriter.repair(walMetaData);

Review Comment:
   inlined these necessary var



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