Hi,

I'm working on some tests for one of my Storm topologies, and I'm
consistently seeing topology timeouts from the testing framework, and it
looks like it's only waiting 5 seconds, which is pretty aggressive in my
opinion:

Error in cluster
java.lang.AssertionError: Test timed out (5000ms)
at backtype.storm.testing$complete_topology.doInvoke(testing.clj:489)
~[storm-core-0.9.3.jar:0.9.3]
at clojure.lang.RestFn.invoke(RestFn.java:826) ~[clojure-1.5.1.jar:na]
at backtype.storm.testing4j$_completeTopology.invoke(testing4j.clj:61)
~[storm-core-0.9.3.jar:0.9.3]
at backtype.storm.Testing.completeTopology(Unknown Source)
[storm-core-0.9.3.jar:0.9.3]


I know from experience that this topology runs pretty well on our remote
cluster, so I don't think these timeouts are necessarily and indication of
something bad.

Looking around, I found this JIRA issue:

https://issues.apache.org/jira/browse/STORM-573

Which was fixed ~5 months ago, but didn't end up in Storm 0.9.4. Does
anyone have any suggestions for a testing workaround in the meantime?
Before I'd discovered the testing framework, I'd been just been spinning up
a local cluster myself as part of the test, and I might just go back to
doing that, but it would be great to use the officially supported testing
mechanisms.

Thanks,

Mark

Reply via email to