Github user HeartSaVioR commented on a diff in the pull request:

    https://github.com/apache/storm/pull/722#discussion_r39817156
  
    --- Diff: storm-core/test/clj/backtype/storm/config_test.clj ---
    @@ -168,3 +168,24 @@
                           (catch Exception e e)))))
             (is (thrown-cause? java.lang.IllegalArgumentException
               (.validateField validator "test" 42)))))))
    +
    +(deftest test-absolute-storm-local-dir
    +  (let [storm-home-key "storm.home"
    +        old-storm-home (System/getProperty storm-home-key)
    +        conf-relative {STORM-LOCAL-DIR "storm-local"}
    +        conf-absolute {STORM-LOCAL-DIR
    +                       (if on-windows?
    +                         "C:\\storm-local"
    +                         "/var/storm-local")}]
    +    (try
    +      (System/setProperty storm-home-key (if on-windows? "C:\\storm-home" 
"/usr/local/storm-home"))
    --- End diff --
    
    @Renkai 
    Unfortunately I found this PR affects other tests randomly - supervisor 
tests are failing. 
    Please see https://travis-ci.org/apache/storm/jobs/79231189.
    Could we just use current storm.home?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to