This is an automated email from the ASF dual-hosted git repository.

critas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 1f67cf6e7cc update params in ImportSchemaTestIT (#15406)
1f67cf6e7cc is described below

commit 1f67cf6e7cc4ffdb23b8e5f47bce6b652c5034dd
Author: Summer <[email protected]>
AuthorDate: Fri Apr 25 09:58:57 2025 +0800

    update params in ImportSchemaTestIT (#15406)
    
    Co-authored-by: 2b3c511 <[email protected]>
---
 .../java/org/apache/iotdb/tools/it/ImportSchemaTestIT.java   | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git 
a/integration-test/src/test/java/org/apache/iotdb/tools/it/ImportSchemaTestIT.java
 
b/integration-test/src/test/java/org/apache/iotdb/tools/it/ImportSchemaTestIT.java
index 74c7c69c8c7..e2b911e5b81 100644
--- 
a/integration-test/src/test/java/org/apache/iotdb/tools/it/ImportSchemaTestIT.java
+++ 
b/integration-test/src/test/java/org/apache/iotdb/tools/it/ImportSchemaTestIT.java
@@ -77,7 +77,7 @@ public class ImportSchemaTestIT extends AbstractScriptIT {
   @Override
   protected void testOnWindows() throws IOException {
     final String[] output = {
-      "Import completely!",
+      "Source file or directory ./sql/ does not exist",
     };
     ProcessBuilder builder =
         new ProcessBuilder(
@@ -95,18 +95,18 @@ public class ImportSchemaTestIT extends AbstractScriptIT {
             "-db",
             "test",
             "-s",
-            "./",
+            "./sql/",
             "&",
             "exit",
             "%^errorlevel%");
     builder.environment().put("IOTDB_HOME", homePath);
-    testOutput(builder, output, 0);
+    testOutput(builder, output, 1);
   }
 
   @Override
   protected void testOnUnix() throws IOException {
     final String[] output = {
-      "Import completely!",
+      "Source file or directory ./sql/ does not exist",
     };
     ProcessBuilder builder =
         new ProcessBuilder(
@@ -123,8 +123,8 @@ public class ImportSchemaTestIT extends AbstractScriptIT {
             "-db",
             "test",
             "-s",
-            "./");
+            "./sql/");
     builder.environment().put("IOTDB_HOME", homePath);
-    testOutput(builder, output, 0);
+    testOutput(builder, output, 1);
   }
 }

Reply via email to