You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2019/01/22 14:41:31 UTC
[incubator-iotdb] branch fix_OpenFileNumUtilTest_failure updated:
enable all tests
This is an automated email from the ASF dual-hosted git repository.
hxd pushed a commit to branch fix_OpenFileNumUtilTest_failure
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
The following commit(s) were added to refs/heads/fix_OpenFileNumUtilTest_failure by this push:
new 1af3103 enable all tests
1af3103 is described below
commit 1af310347bfabc2f37e270cec688da87296d0ca2
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Tue Jan 22 22:41:17 2019 +0800
enable all tests
---
iotdb-cli/pom.xml | 2 +-
iotdb/src/main/java/org/apache/iotdb/db/utils/OpenFileNumUtil.java | 3 ---
jdbc/pom.xml | 2 +-
tsfile/pom.xml | 2 +-
4 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/iotdb-cli/pom.xml b/iotdb-cli/pom.xml
index 9b4378f..e798058 100644
--- a/iotdb-cli/pom.xml
+++ b/iotdb-cli/pom.xml
@@ -33,7 +33,7 @@
<properties>
<common.cli.version>1.3.1</common.cli.version>
<jline.version>2.14.5</jline.version>
- <cli.test.skip>true</cli.test.skip>
+ <cli.test.skip>false</cli.test.skip>
<cli.it.skip>${cli.test.skip}</cli.it.skip>
<cli.ut.skip>${cli.test.skip}</cli.ut.skip>
</properties>
diff --git a/iotdb/src/main/java/org/apache/iotdb/db/utils/OpenFileNumUtil.java b/iotdb/src/main/java/org/apache/iotdb/db/utils/OpenFileNumUtil.java
index 007363b..5e95638 100644
--- a/iotdb/src/main/java/org/apache/iotdb/db/utils/OpenFileNumUtil.java
+++ b/iotdb/src/main/java/org/apache/iotdb/db/utils/OpenFileNumUtil.java
@@ -171,9 +171,7 @@ public class OpenFileNumUtil {
BufferedReader in = new BufferedReader(new InputStreamReader(pro.getInputStream()));
String line;
int oldValue;
- log.debug("Output result of {}:", command);
while ((line = in.readLine()) != null) {
- log.debug(line);
String[] temp = line.split("\\s+");
if (line.contains("" + pid) && temp.length > 8) {
oldValue = resultMap.get(OpenFileNumStatistics.TOTAL_OPEN_FILE_NUM);
@@ -194,7 +192,6 @@ public class OpenFileNumUtil {
}
}
}
- log.debug("Output finished.");
in.close();
pro.destroy();
} catch (Exception e) {
diff --git a/jdbc/pom.xml b/jdbc/pom.xml
index 001ceae..40c4124 100644
--- a/jdbc/pom.xml
+++ b/jdbc/pom.xml
@@ -31,7 +31,7 @@
<name>IoTDB Jdbc</name>
<description>A jdbc driver for a time series database, IoTDB, which uses TsFile as its storage format on disk.</description>
<properties>
- <jdbc.test.skip>true</jdbc.test.skip>
+ <jdbc.test.skip>false</jdbc.test.skip>
<jdbc.it.skip>${jdbc.test.skip}</jdbc.it.skip>
<jdbc.ut.skip>${jdbc.test.skip}</jdbc.ut.skip>
</properties>
diff --git a/tsfile/pom.xml b/tsfile/pom.xml
index ed808b1..28de2fc 100644
--- a/tsfile/pom.xml
+++ b/tsfile/pom.xml
@@ -32,7 +32,7 @@
<description>A columnar file format designed for time-series data</description>
<url>https://github.com/thulab/iotdb/tree/master/tsfile</url>
<properties>
- <tsfile.test.skip>true</tsfile.test.skip>
+ <tsfile.test.skip>false</tsfile.test.skip>
<tsfile.it.skip>${tsfile.test.skip}</tsfile.it.skip>
<tsfile.ut.skip>${tsfile.test.skip}</tsfile.ut.skip>
</properties>