This is an automated email from the ASF dual-hosted git repository. jackietien pushed a commit to branch force_ci/object_type in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 3539ec03448f5d7348831095a5bfa386eab4794c Author: HTHou <[email protected]> AuthorDate: Thu Dec 11 09:38:02 2025 +0800 Fix NoSuchFile in Object IT --- .../apache/iotdb/relational/it/schema/IoTDBTableIT.java | 4 +--- .../relational/it/session/IoTDBSessionRelationalIT.java | 8 ++------ integration-test/src/test/resources/object-example.pt | Bin 0 -> 1906 bytes 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/integration-test/src/test/java/org/apache/iotdb/relational/it/schema/IoTDBTableIT.java b/integration-test/src/test/java/org/apache/iotdb/relational/it/schema/IoTDBTableIT.java index 1e95b05b05f..5eaf230b600 100644 --- a/integration-test/src/test/java/org/apache/iotdb/relational/it/schema/IoTDBTableIT.java +++ b/integration-test/src/test/java/org/apache/iotdb/relational/it/schema/IoTDBTableIT.java @@ -816,9 +816,7 @@ public class IoTDBTableIT { + File.separator + "test-classes" + File.separator - + "ainode-example" - + File.separator - + "model.pt"; + + "object-example.pt"; List<IMeasurementSchema> schemaList = new ArrayList<>(); schemaList.add(new MeasurementSchema("a", TSDataType.STRING)); diff --git a/integration-test/src/test/java/org/apache/iotdb/relational/it/session/IoTDBSessionRelationalIT.java b/integration-test/src/test/java/org/apache/iotdb/relational/it/session/IoTDBSessionRelationalIT.java index 7f63d190302..49884e3c70b 100644 --- a/integration-test/src/test/java/org/apache/iotdb/relational/it/session/IoTDBSessionRelationalIT.java +++ b/integration-test/src/test/java/org/apache/iotdb/relational/it/session/IoTDBSessionRelationalIT.java @@ -861,9 +861,7 @@ public class IoTDBSessionRelationalIT { + File.separator + "test-classes" + File.separator - + "ainode-example" - + File.separator - + "model.pt"; + + "object-example.pt"; File object = new File(testObject); try (ITableSession session = EnvFactory.getEnv().getTableSessionConnection()) { @@ -929,9 +927,7 @@ public class IoTDBSessionRelationalIT { + File.separator + "test-classes" + File.separator - + "ainode-example" - + File.separator - + "model.pt"; + + "object-example.pt"; byte[] objectBytes = Files.readAllBytes(Paths.get(testObject)); List<byte[]> objectSegments = new ArrayList<>(); for (int i = 0; i < objectBytes.length; i += 512) { diff --git a/integration-test/src/test/resources/object-example.pt b/integration-test/src/test/resources/object-example.pt new file mode 100644 index 00000000000..67d4aec6999 Binary files /dev/null and b/integration-test/src/test/resources/object-example.pt differ
