incubator-s4-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aimee Cheng (JIRA)" <>
Subject [jira] [Commented] (S4-93) Local Mode for testing
Date Fri, 24 Aug 2012 01:35:42 GMT


Aimee Cheng commented on S4-93:

I tried it, and it works well. 

But I have some suggestions, maybe we can provide more for simple test in IDE. For example,
when test model start, a testing zookeeper will start(like the curator's TestingServer) and
users don't need to set up their own zookeeper or mix with zookeeper for other applications.
And also I feel new org.apache.s4.core.Main() seems not so friendly... Another feeling from
the App I used write, when testing in local, providing a way to send to the certain PEs(stream)
in App is helpful. Maybe we can encapsulate them all inside a class, so that users only need
to write a test class in their app like this:

//Test data
TestModel.putEvent(streamname, event)....

That's some small suggestions.
> Local Mode for testing
> ----------------------
>                 Key: S4-93
>                 URL:
>             Project: Apache S4
>          Issue Type: Wish
>    Affects Versions: 0.6
>            Reporter: Aimee Cheng
>             Fix For: 0.6
> Providing Local mode can be useful for app testing. In local mode, We can start a testing
zookeeper server and use threads to simulate nodes process.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message