Github user revans2 commented on the pull request:
https://github.com/apache/incubator-storm/pull/103#issuecomment-43636831
Running the unit tests I ran into some errors in
backtype.storm.messaging.netty-unit-test (there were 3 failures like this one)
It looks like you need to update the test to set Config.TOPOLOGY_WORKERS
before creating the context.
```
expected: nil
actual: java.lang.RuntimeException: Fail to construct messaging plugin
from plugin backtype.storm.messaging.netty.Context
at backtype.storm.messaging.TransportFactory.makeContext
(TransportFactory.java:53)
backtype.storm.messaging.netty_unit_test/fn (netty_unit_test.clj:109)
clojure.test$test_var$fn__6926.invoke (test.clj:701)
clojure.test$test_var.invoke (test.clj:701)
clojure.test$test_all_vars$fn__6930$fn__6937.invoke (test.clj:717)
clojure.test$default_fixture.invoke (test.clj:671)
clojure.test$test_all_vars$fn__6930.invoke (test.clj:717)
...
Caused by: java.lang.IllegalArgumentException: Don't know how to
convert null + to int
at backtype.storm.utils.Utils.getInt (Utils.java:308)
backtype.storm.messaging.netty.Context.prepare (Context.java:66)
backtype.storm.messaging.TransportFactory.makeContext
(TransportFactory.java:45)
backtype.storm.messaging.netty_unit_test/fn (netty_unit_test.clj:109)
clojure.test$test_var$fn__6926.invoke (test.clj:701)
clojure.test$test_var.invoke (test.clj:701)
clojure.test$test_all_vars$fn__6930$fn__6937.invoke (test.clj:717)
clojure.test$default_fixture.invoke (test.clj:671)
clojure.test$test_all_vars$fn__6930.invoke (test.clj:717)
clojure.test$default_fixture.invoke (test.clj:671)
```
---
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.
---