This is an automated email from the ASF dual-hosted git repository.
jiangtian pushed a commit to branch deviceId_with_null
in repository https://gitbox.apache.org/repos/asf/tsfile.git
The following commit(s) were added to refs/heads/deviceId_with_null by this
push:
new 1885dd81 supplement tests
1885dd81 is described below
commit 1885dd81baf296877ef565ffd9ecfcf4f935775a
Author: Tian Jiang <[email protected]>
AuthorDate: Wed Jul 31 09:47:30 2024 +0800
supplement tests
---
.../src/test/java/org/apache/tsfile/file/metadata/IDeviceIDTest.java | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/java/tsfile/src/test/java/org/apache/tsfile/file/metadata/IDeviceIDTest.java
b/java/tsfile/src/test/java/org/apache/tsfile/file/metadata/IDeviceIDTest.java
index 05c2dbf6..b7111629 100644
---
a/java/tsfile/src/test/java/org/apache/tsfile/file/metadata/IDeviceIDTest.java
+++
b/java/tsfile/src/test/java/org/apache/tsfile/file/metadata/IDeviceIDTest.java
@@ -115,6 +115,9 @@ public class IDeviceIDTest {
assertThrows(
IllegalDeviceIDException.class,
() -> Factory.DEFAULT_FACTORY.create(new String[] {null, null, null,
null}));
+ assertThrows(
+ IllegalDeviceIDException.class,
+ () -> Factory.DEFAULT_FACTORY.create(new String[] {}));
}
@Test