You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ma...@apache.org on 2023/03/29 04:03:18 UTC
[iotdb] branch catch_exception_in_compaction_scheduler_test created (now 431cd53a12)
This is an automated email from the ASF dual-hosted git repository.
marklau99 pushed a change to branch catch_exception_in_compaction_scheduler_test
in repository https://gitbox.apache.org/repos/asf/iotdb.git
at 431cd53a12 catch NPE
This branch includes the following new commits:
new 431cd53a12 catch NPE
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[iotdb] 01/01: catch NPE
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
marklau99 pushed a commit to branch catch_exception_in_compaction_scheduler_test
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 431cd53a12c054b77933290487e8edf181843afb
Author: Liu Xuxin <li...@outlook.com>
AuthorDate: Wed Mar 29 12:02:59 2023 +0800
catch NPE
---
.../org/apache/iotdb/db/engine/compaction/CompactionSchedulerTest.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/server/src/test/java/org/apache/iotdb/db/engine/compaction/CompactionSchedulerTest.java b/server/src/test/java/org/apache/iotdb/db/engine/compaction/CompactionSchedulerTest.java
index de737cafbe..eb9b1b6452 100644
--- a/server/src/test/java/org/apache/iotdb/db/engine/compaction/CompactionSchedulerTest.java
+++ b/server/src/test/java/org/apache/iotdb/db/engine/compaction/CompactionSchedulerTest.java
@@ -1332,6 +1332,9 @@ public class CompactionSchedulerTest {
}
} catch (InterruptedException e) {
e.printStackTrace();
+ } catch (NullPointerException e) {
+ e.printStackTrace();
+ fail(e.getMessage());
}
}
assertEquals(100, tsFileManager.getTsFileList(true).size());