This is an automated email from the ASF dual-hosted git repository.
jiangtian pushed a commit to branch
print_measurement_for_putting_buffer_exceptions
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to
refs/heads/print_measurement_for_putting_buffer_exceptions by this push:
new fe0ecddd15d spotless
fe0ecddd15d is described below
commit fe0ecddd15dc4dfb71c3dea92dc5eeb4d43f876c
Author: Tian Jiang <[email protected]>
AuthorDate: Fri Jul 4 11:48:24 2025 +0800
spotless
---
.../org/apache/iotdb/session/it/IoTDBSessionSimpleIT.java | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git
a/integration-test/src/test/java/org/apache/iotdb/session/it/IoTDBSessionSimpleIT.java
b/integration-test/src/test/java/org/apache/iotdb/session/it/IoTDBSessionSimpleIT.java
index 1119dac4ae6..00461c7578f 100644
---
a/integration-test/src/test/java/org/apache/iotdb/session/it/IoTDBSessionSimpleIT.java
+++
b/integration-test/src/test/java/org/apache/iotdb/session/it/IoTDBSessionSimpleIT.java
@@ -2203,11 +2203,17 @@ public class IoTDBSessionSimpleIT {
}
@Test
- public void testInsertWrongTypeRecord()
- throws IoTDBConnectionException {
+ public void testInsertWrongTypeRecord() throws IoTDBConnectionException {
try (ISession session = EnvFactory.getEnv().getSessionConnection()) {
- assertThrows(ClassCastException.class,
- () -> session.insertRecord("root.db1.d1", 0,
Collections.singletonList("s1"), Collections.singletonList(TSDataType.INT32),
Collections.singletonList(1L)));
+ assertThrows(
+ ClassCastException.class,
+ () ->
+ session.insertRecord(
+ "root.db1.d1",
+ 0,
+ Collections.singletonList("s1"),
+ Collections.singletonList(TSDataType.INT32),
+ Collections.singletonList(1L)));
}
}
}