You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by hu...@apache.org on 2018/04/06 20:44:44 UTC

[incubator-heron] branch huijunw/togglemetricscacheconnectioninstmgr updated: fix unit

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

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


The following commit(s) were added to refs/heads/huijunw/togglemetricscacheconnectioninstmgr by this push:
     new 37d2ad4  fix unit
37d2ad4 is described below

commit 37d2ad475149ffe527c6ef651733d38fd0086c1a
Author: Huijun Wu <hu...@twitter.com>
AuthorDate: Fri Apr 6 13:44:29 2018 -0700

    fix unit
---
 heron/executor/tests/python/heron_executor_unittest.py | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/heron/executor/tests/python/heron_executor_unittest.py b/heron/executor/tests/python/heron_executor_unittest.py
index f6155c0..9e6faff 100644
--- a/heron/executor/tests/python/heron_executor_unittest.py
+++ b/heron/executor/tests/python/heron_executor_unittest.py
@@ -175,7 +175,8 @@ class HeronExecutorTest(unittest.TestCase):
                   '--myhost=%s --data_port=master_port '
                   '--local_data_port=tmaster_controller_port --metricsmgr_port=metricsmgr_port '
                   '--shell_port=shell-port --config_file=%s --override_config_file=%s '
-                  '--ckptmgr_port=ckptmgr-port --ckptmgr_id=ckptmgr-1'
+                  '--ckptmgr_port=ckptmgr-port --ckptmgr_id=ckptmgr-1 '
+                  '--metricscachemgr_mode=cluster'
                   % (HOSTNAME, INTERNAL_CONF_PATH, OVERRIDE_PATH)),
       ProcessInfo(MockPOpen(), 'container_1_word_3', get_expected_instance_command('word', 3, 1)),
       ProcessInfo(MockPOpen(), 'container_1_exclaim1_1',
@@ -199,7 +200,8 @@ class HeronExecutorTest(unittest.TestCase):
                   '--data_port=master_port '
                   '--local_data_port=tmaster_controller_port --metricsmgr_port=metricsmgr_port '
                   '--shell_port=shell-port --config_file=%s --override_config_file=%s '
-                  '--ckptmgr_port=ckptmgr-port --ckptmgr_id=ckptmgr-7'
+                  '--ckptmgr_port=ckptmgr-port --ckptmgr_id=ckptmgr-7 '
+                  '--metricscachemgr_mode=cluster'
                   % (HOSTNAME, INTERNAL_CONF_PATH, OVERRIDE_PATH)),
       ProcessInfo(MockPOpen(), 'metricsmgr-7', get_expected_metricsmgr_command(7)),
       ProcessInfo(MockPOpen(), 'heron-shell-7', get_expected_shell_command(7)),
@@ -268,9 +270,9 @@ class HeronExecutorTest(unittest.TestCase):
       ("--checkpoint-manager-classpath", "ckptmgr_classpath"),
       ("--checkpoint-manager-port", "ckptmgr-port"),
       ("--stateful-config-file", "stateful_config_file"),
-      ("--health-manager-mode", "healthmgr_mode"),
+      ("--health-manager-mode", "cluster"),
       ("--health-manager-classpath", "healthmgr_classpath"),
-      ("--metricscache-manager-mode", "metricscache_mode")
+      ("--metricscache-manager-mode", "cluster")
     ]
 
     args = ("%s=%s" % (arg[0], (str(arg[1]))) for arg in executor_args)

-- 
To stop receiving notification emails like this one, please contact
huijun@apache.org.