Hi Tousif,

Which version of Apache Storm you are using?

Because, It's working with my storm-0.9.0.x and above version. You can
increase tuple time out value with configuration object in your java code.

if possible show your code patch of topology creation and deployment code.

On Thu, Jun 18, 2015 at 3:50 PM, Tousif <tousif.pa...@gmail.com> wrote:

> Hi Swapnil,
>
> I tried  but it did not override default Timeout in Tests
>
> same is reported here https://issues.apache.org/jira/browse/STORM-354
>
>
> https://github.com/apache/storm/blob/master/storm-core/src/clj/backtype/storm/testing.clj#L190-192
>
>
> java.lang.AssertionError: Test timed out (5000ms)
> at backtype.storm.testing$complete_topology.doInvoke(testing.clj:477)
> at clojure.lang.RestFn.invoke(RestFn.java:826)
> at backtype.storm.testing4j$_completeTopology.invoke(testing4j.clj:60)
> at backtype.storm.Testing.completeTopology(Unknown Source)
> at com.senseforth.storm.Tests.TopologyTest$1.run(TopologyTest.java:135)
> at backtype.storm.testing4j$_withLocalCluster.invoke(testing4j.clj:86)
> at backtype.storm.Testing.withLocalCluster(Unknown Source)
> ....
>
>
>
>
>
>
> On Thu, Jun 18, 2015 at 3:20 PM, swapnil joshi <
> webmaster.swap...@gmail.com> wrote:
>
>> Hi Tousif,
>>
>> add following line in you java code
>>
>> conf.put(Config.TOPOLOGY_MESSAGE_TIMEOUT_SECS, 180);
>>
>> just before submitting you topology.
>>
>> On Thu, Jun 18, 2015 at 2:44 PM, Tousif <tousif.pa...@gmail.com> wrote:
>>
>>> Hello,
>>>
>>> I tried passing STORM_TEST_TIMEOUT_MS as env variable in eclipse and
>>> also through System.setProperty but no luck.  Any one got this working ?
>>>
>>> --
>>>
>>>
>>> Regards
>>> Tousif Khazi
>>>
>>>
>>
>>
>> --
>> Regards,
>> Swapnil K. Joshi
>>
>
>
>
> --
>
>
> Regards
> Tousif Khazi
>
>


-- 
Regards,
Swapnil K. Joshi

Reply via email to