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 2020/02/18 15:03:26 UTC

[incubator-iotdb] branch ut_close_socket updated (9a69d97 -> 207daa4)

This is an automated email from the ASF dual-hosted git repository.

hxd pushed a change to branch ut_close_socket
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git.


    from 9a69d97  fix a bug in TsFileIOWriter that the file field is not initialized
     new 112e264  add a log to split test functions in a Test
     new 207daa4  for debug

The 2 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.


Summary of changes:
 server/src/main/java/org/apache/iotdb/db/utils/FileUtils.java        | 2 +-
 server/src/test/java/org/apache/iotdb/db/utils/EnvironmentUtils.java | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)


[incubator-iotdb] 02/02: for debug

Posted by hx...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hxd pushed a commit to branch ut_close_socket
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git

commit 207daa47821b54a7950c77ec9eab3f4b7aab1932
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Tue Feb 18 23:03:08 2020 +0800

    for debug
---
 server/src/main/java/org/apache/iotdb/db/utils/FileUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/utils/FileUtils.java b/server/src/main/java/org/apache/iotdb/db/utils/FileUtils.java
index e851e2b..435daa0 100644
--- a/server/src/main/java/org/apache/iotdb/db/utils/FileUtils.java
+++ b/server/src/main/java/org/apache/iotdb/db/utils/FileUtils.java
@@ -42,7 +42,7 @@ public class FileUtils {
       Files.delete(folder.toPath());
     } catch (NoSuchFileException | DirectoryNotEmptyException e) {
       logger.warn("{}: {}", e.getMessage(), Arrays.toString(folder.list()), e);
-    } catch (IOException | SecurityException e) {
+    } catch (Exception e) {
       logger.warn("{}: {}", e.getMessage(), folder.getName(), e);
     }
   }


[incubator-iotdb] 01/02: add a log to split test functions in a Test

Posted by hx...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hxd pushed a commit to branch ut_close_socket
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git

commit 112e264aef4164a4116016be97ecf50939bdce95
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Tue Feb 18 23:02:07 2020 +0800

    add a log to split test functions in a Test
---
 server/src/test/java/org/apache/iotdb/db/utils/EnvironmentUtils.java | 1 +
 1 file changed, 1 insertion(+)

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 233da32..965ffbe 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
@@ -186,6 +186,7 @@ public class EnvironmentUtils {
    * disable memory control</br> this function should be called before all code in the setup
    */
   public static void envSetUp() throws StartupException {
+    logger.warn("EnvironmentUtil setup...");
     System.setProperty(IoTDBConstant.REMOTE_JMX_PORT_NAME, "31999");
     IoTDBDescriptor.getInstance().getConfig().setThriftServerAwaitTimeForStopService(0);
     if (daemon == null) {