jt2594838 commented on code in PR #16751:
URL: https://github.com/apache/iotdb/pull/16751#discussion_r2532468515


##########
integration-test/src/test/java/org/apache/iotdb/db/it/IoTDBLoadTsFileIT.java:
##########
@@ -742,6 +744,40 @@ public void testLoadWithOnNonStandardTsFileName() throws 
Exception {
     }
   }
 
+  @Test
+  public void testLoadWithRelativePathName() throws Exception {
+    DataNodeWrapper dataNodeWrapper = 
EnvFactory.getEnv().getDataNodeWrapper(0);
+
+    registerSchema();
+
+    final long writtenPoint1;
+    // device 0, device 1, sg 0
+    try (final TsFileGenerator generator =
+        new TsFileGenerator(new File(System.getProperty(USER_DIR), 
"1-0-0-0.tsfile"))) {
+      generator.registerTimeseries(
+          SchemaConfig.DEVICE_0, 
Collections.singletonList(SchemaConfig.MEASUREMENT_00));
+      generator.generateData(SchemaConfig.DEVICE_0, 1, PARTITION_INTERVAL / 
10_000, false);
+      writtenPoint1 = generator.getTotalNumber();
+    }

Review Comment:
   Will this file be properly cleaned?



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