You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2022/06/11 17:38:51 UTC
[iotdb] 01/01: try to fix server CI
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch try_wal_ci
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 64dfddc2633efccb1bceff1765f0a7e8018396e0
Author: HTHou <hh...@outlook.com>
AuthorDate: Sun Jun 12 01:38:34 2022 +0800
try to fix server CI
---
server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java | 2 +-
server/src/test/java/org/apache/iotdb/db/utils/EnvironmentUtils.java | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
index 50bc44f4a9..eb46702aac 100644
--- a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
+++ b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
@@ -1526,7 +1526,7 @@ public class IoTDBConfig {
return walBufferQueueCapacity;
}
- void setWalBufferQueueCapacity(int walBufferQueueCapacity) {
+ public void setWalBufferQueueCapacity(int walBufferQueueCapacity) {
this.walBufferQueueCapacity = walBufferQueueCapacity;
}
diff --git a/server/src/test/java/org/apache/iotdb/db/utils/EnvironmentUtils.java b/server/src/test/java/org/apache/iotdb/db/utils/EnvironmentUtils.java
index 951aaaadaa..bb8b1f741b 100644
--- a/server/src/test/java/org/apache/iotdb/db/utils/EnvironmentUtils.java
+++ b/server/src/test/java/org/apache/iotdb/db/utils/EnvironmentUtils.java
@@ -286,6 +286,7 @@ public class EnvironmentUtils {
config.setAvgSeriesPointNumberThreshold(Integer.MAX_VALUE);
// use async wal mode in test
config.setAvgSeriesPointNumberThreshold(Integer.MAX_VALUE);
+ config.setWalBufferQueueCapacity(100);
if (daemon == null) {
daemon = new IoTDB();
}