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 13:29:21 UTC
[incubator-iotdb] branch fix_OpenFileNumUtilTest_failure updated:
disable test of tsfile, jdbc, iotdb-cli for testing iotdb quickly
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 bddd285 disable test of tsfile, jdbc, iotdb-cli for testing iotdb quickly
bddd285 is described below
commit bddd2851b3f2bee6ea5d4da94a5138476b1f9524
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Tue Jan 22 21:29:09 2019 +0800
disable test of tsfile, jdbc, iotdb-cli for testing iotdb quickly
---
iotdb-cli/pom.xml | 2 +-
iotdb/src/test/java/org/apache/iotdb/db/utils/OpenFileNumUtilTest.java | 3 +++
jdbc/pom.xml | 2 +-
tsfile/pom.xml | 2 +-
4 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/iotdb-cli/pom.xml b/iotdb-cli/pom.xml
index e798058..9b4378f 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>false</cli.test.skip>
+ <cli.test.skip>true</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/test/java/org/apache/iotdb/db/utils/OpenFileNumUtilTest.java b/iotdb/src/test/java/org/apache/iotdb/db/utils/OpenFileNumUtilTest.java
index 49ae3eb..01b94b1 100644
--- a/iotdb/src/test/java/org/apache/iotdb/db/utils/OpenFileNumUtilTest.java
+++ b/iotdb/src/test/java/org/apache/iotdb/db/utils/OpenFileNumUtilTest.java
@@ -147,6 +147,7 @@ public class OpenFileNumUtilTest {
try {
boolean flag = file.createNewFile();
if(flag) {
+ LOGGER.debug("Create a file {} successfully", file);
fileWriterList.add(new FileWriter(file));
}else{
LOGGER.error(
@@ -171,6 +172,7 @@ public class OpenFileNumUtilTest {
@Test
public void testDataOpenFileNumWhenFileWriterWriting() {
+ LOGGER.debug("testDataOpenFileNumWhenFileWriterWriting...");
if (os.startsWith(MAC_OS_NAME) || os.startsWith(LINUX_OS_NAME)) {
for (int i = 0; i < testFileNum; i++) {
fileList.add(new File(currDir + testFileName + i));
@@ -219,6 +221,7 @@ public class OpenFileNumUtilTest {
@Test
public void testDataOpenFileNumWhenFileWriterClose() {
+ LOGGER.debug("testDataOpenFileNumWhenFileWriterClose...");
if (os.startsWith(MAC_OS_NAME) || os.startsWith(LINUX_OS_NAME)) {
for (int i = 0; i < testFileNum; i++) {
fileList.add(new File(currDir + testFileName + i));
diff --git a/jdbc/pom.xml b/jdbc/pom.xml
index 40c4124..001ceae 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>false</jdbc.test.skip>
+ <jdbc.test.skip>true</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 28de2fc..ed808b1 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>false</tsfile.test.skip>
+ <tsfile.test.skip>true</tsfile.test.skip>
<tsfile.it.skip>${tsfile.test.skip}</tsfile.it.skip>
<tsfile.ut.skip>${tsfile.test.skip}</tsfile.ut.skip>
</properties>