You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by sr...@apache.org on 2015/12/14 16:29:38 UTC
[3/5] storm git commit: Fix supervisor unit tets
Fix supervisor unit tets
Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/c420b2b6
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/c420b2b6
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/c420b2b6
Branch: refs/heads/master
Commit: c420b2b6b4e5a2003e04a45ac6d0bb2de63df1ea
Parents: 9b8c12a
Author: zhuol <zh...@yahoo-inc.com>
Authored: Sun Dec 13 21:40:08 2015 -0600
Committer: zhuol <zh...@yahoo-inc.com>
Committed: Sun Dec 13 21:40:08 2015 -0600
----------------------------------------------------------------------
storm-core/test/clj/backtype/storm/supervisor_test.clj | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/storm/blob/c420b2b6/storm-core/test/clj/backtype/storm/supervisor_test.clj
----------------------------------------------------------------------
diff --git a/storm-core/test/clj/backtype/storm/supervisor_test.clj b/storm-core/test/clj/backtype/storm/supervisor_test.clj
index 776ad6e..e149c00 100644
--- a/storm-core/test/clj/backtype/storm/supervisor_test.clj
+++ b/storm-core/test/clj/backtype/storm/supervisor_test.clj
@@ -461,6 +461,7 @@
_ (.mkdirs (io/file storm-local "workers" mock-worker-id))
mock-supervisor {:conf {STORM-CLUSTER-MODE :distributed
STORM-LOCAL-DIR storm-local
+ STORM-WORKERS-ARTIFACTS-DIR (str storm-local "/workers-artifacts")
SUPERVISOR-RUN-WORKER-AS-USER true
WORKER-CHILDOPTS string-opts}}]
(stubbing [read-supervisor-storm-conf {TOPOLOGY-WORKER-CHILDOPTS
@@ -491,6 +492,7 @@
exp-script (exp-script-fn list-opts topo-list-opts)
mock-supervisor {:conf {STORM-CLUSTER-MODE :distributed
STORM-LOCAL-DIR storm-local
+ STORM-WORKERS-ARTIFACTS-DIR (str storm-local "/workers-artifacts")
SUPERVISOR-RUN-WORKER-AS-USER true
WORKER-CHILDOPTS list-opts}}]
(stubbing [read-supervisor-storm-conf {TOPOLOGY-WORKER-CHILDOPTS