This is an automated email from the ASF dual-hosted git repository.
dope pushed a commit to branch add_iotdb_env_script_test
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
The following commit(s) were added to refs/heads/add_iotdb_env_script_test by
this push:
new 6066cab add xmx and xms hit
6066cab is described below
commit 6066cab457bb76131f01cbbd02b8759ead4989a9
Author: MyXOF <[email protected]>
AuthorDate: Wed Feb 13 15:08:27 2019 +0800
add xmx and xms hit
---
iotdb/iotdb/conf/iotdb-env.sh | 3 ++-
iotdb/src/test/java/org/apache/iotdb/db/script/EnvScriptIT.java | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/iotdb/iotdb/conf/iotdb-env.sh b/iotdb/iotdb/conf/iotdb-env.sh
index f64e57f..9de5c6d 100755
--- a/iotdb/iotdb/conf/iotdb-env.sh
+++ b/iotdb/iotdb/conf/iotdb-env.sh
@@ -146,4 +146,5 @@ fi
IOTDB_JMX_OPTS="$IOTDB_JMX_OPTS -Xms${HEAP_NEWSIZE}"
IOTDB_JMX_OPTS="$IOTDB_JMX_OPTS -Xmx${MAX_HEAP_SIZE}"
-echo "execute [bash iotdb-env.sh] successfully!"
\ No newline at end of file
+echo "Maximum memory allocation pool = ${MAX_HEAP_SIZE}MB, initial memory
allocation pool = ${HEAP_NEWSIZE}MB"
+echo "If you want to change this configuration, please check
conf/iotdb-env.sh(Unix or OS X, if you use Windows, check conf/iotdb-env.bat)."
\ No newline at end of file
diff --git a/iotdb/src/test/java/org/apache/iotdb/db/script/EnvScriptIT.java
b/iotdb/src/test/java/org/apache/iotdb/db/script/EnvScriptIT.java
index 49c735e..2f7e833 100644
--- a/iotdb/src/test/java/org/apache/iotdb/db/script/EnvScriptIT.java
+++ b/iotdb/src/test/java/org/apache/iotdb/db/script/EnvScriptIT.java
@@ -62,7 +62,7 @@ public class EnvScriptIT {
private void testStartClientOnUnix(String suffix, String os) throws
IOException {
String dir = getCurrentPath("pwd");
- final String output = "execute [bash iotdb-env.sh] successfully!";
+ final String output = "If you want to change this configuration, please
check conf/iotdb-env.sh(Unix or OS X, if you use Windows, check
conf/iotdb-env.bat).";
String cmd = dir + File.separator + "iotdb" + File.separator + "conf" +
File.separator + "iotdb-env"
+ suffix;
ProcessBuilder builder = new ProcessBuilder("bash", cmd);