You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by nw...@apache.org on 2019/01/03 02:57:24 UTC

[incubator-heron] branch master updated: Fix integration test script on mac (#3143)

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

nwang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git


The following commit(s) were added to refs/heads/master by this push:
     new 65b5e6c  Fix integration test script on mac (#3143)
65b5e6c is described below

commit 65b5e6c177be06602285e30527b52ff28cd6ea5c
Author: Ning Wang <nw...@twitter.com>
AuthorDate: Wed Jan 2 18:57:20 2019 -0800

    Fix integration test script on mac (#3143)
---
 scripts/run_integration_test.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/run_integration_test.sh b/scripts/run_integration_test.sh
index 07380c7..92394df 100755
--- a/scripts/run_integration_test.sh
+++ b/scripts/run_integration_test.sh
@@ -38,7 +38,7 @@ SCALA_TESTS_DIR="integration_test/src/scala/org/apache/heron/integration_test/to
 
 # Parse arguments
 LANGUAGE="all"
-TESTS_PATTERN=".*"
+TESTS_PATTERN="[^\n]+"
 if [ "$1" != "" ]; then
   if [ "$1" == "--help" ] || [ "$1" == "-h" ];then
     echo "Usage:"
@@ -97,7 +97,7 @@ fi
 
 # run the java integration tests
 if [ "$LANGUAGE" = "all" ] || [ "$LANGUAGE" = "java" ]; then
-echo "Run the Java integration tests"
+  echo "Run the Java integration tests"
   ${TEST_RUNNER} \
     -hc ~/.heron/bin/heron -tb ${JAVA_INTEGRATION_TESTS_BIN} \
     -rh localhost -rp 8080 \
@@ -108,7 +108,7 @@ fi
 
 # run the python integration tests
 if [ "$LANGUAGE" = "all" ] || [ "$LANGUAGE" = "python" ]; then
-echo "Run the Python integration tests"
+  echo "Run the Python integration tests"
   ${TEST_RUNNER} \
     -hc ~/.heron/bin/heron -tb ${PYTHON_INTEGRATION_TESTS_BIN} \
     -rh localhost -rp 8080 \