OneSizeFitsQuorum commented on code in PR #16869:
URL: https://github.com/apache/iotdb/pull/16869#discussion_r2615992225
##########
iotdb-core/datanode/src/test/java/org/apache/iotdb/db/storageengine/dataregion/wal/allocation/FirstCreateStrategyTest.java:
##########
@@ -141,6 +142,79 @@ public void testRegisterWALNode() throws
IllegalPathException {
}
}
+ @Test
+ public void testReInitializeAfterDiskSpaceCleaned() throws
IllegalPathException, IOException {
+ // Create temporary directories for testing
+ File tempDir = new File(System.getProperty("java.io.tmpdir"),
"iotdb_wal_reinit_test");
+ tempDir.mkdirs();
+
+ String[] walDirs =
+ new String[] {
+ new File(tempDir, "wal_reinit_test1").getAbsolutePath(),
+ new File(tempDir, "wal_reinit_test2").getAbsolutePath(),
+ new File(tempDir, "wal_reinit_test3").getAbsolutePath()
+ };
Review Comment:
Fixed
--
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]