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/06/12 17:03:06 UTC

[incubator-heron] branch master updated: Disable --verbose in integration test (#3286)

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 a5e6ccc  Disable --verbose in integration test (#3286)
a5e6ccc is described below

commit a5e6ccc16876518a4ed8ea6e7c4cc20aad3dca58
Author: Ning Wang <nw...@twitter.com>
AuthorDate: Wed Jun 12 10:02:59 2019 -0700

    Disable --verbose in integration test (#3286)
---
 integration_test/src/python/test_runner/main.py | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/integration_test/src/python/test_runner/main.py b/integration_test/src/python/test_runner/main.py
index 161a759..1ec10eb 100644
--- a/integration_test/src/python/test_runner/main.py
+++ b/integration_test/src/python/test_runner/main.py
@@ -37,6 +37,8 @@ RETRY_ATTEMPTS = 15
 #seconds
 RETRY_INTERVAL = 10
 
+VERBOSE = False               # Disable verbose by default
+
 successes = []
 failures = []
 
@@ -258,8 +260,10 @@ def submit_topology(heron_cli_path, cli_config_path, cluster, role,
   # Form the command to submit a topology.
   # Note the single quote around the arg for heron.package.core.uri.
   # This is needed to prevent shell expansion.
-  cmd = "%s submit --verbose --config-path=%s %s %s %s %s" %\
-        (heron_cli_path, cli_config_path, cluster_token(cluster, role, env),
+  cmd = "%s submit %s --config-path=%s %s %s %s %s" %\
+        (heron_cli_path, 
+        "--verbose" if VERBOSE else "",
+        cli_config_path, cluster_token(cluster, role, env),
          jar_path, classpath, args)
 
   if pkg_uri is not None: