History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CIB-1530
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Daniel Ostermeier
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Pulse

Allow pulse to be started and stopped from within a test case.

Created: 02/Jul/08 06:21 AM   Updated: 14/Aug/08 05:36 AM
Component/s: None
Affects Version/s: 2.0.7
Fix Version/s: 2.0.9


 Description  « Hide
At the moment, if you try to start Pulse from within a test case, the test simply hangs, due to the way the threads are managed internally. IE, pulse pauses on the main jvm thread, rather than spawning worker threads.

It would be very useful from an acceptance testing perspective, particularly from a migration / restore perspective to be able to start and stop pulse numerous times, giving it different data directories to work on.

 All   Comments   Change History      Sort Order:
Daniel Ostermeier - 14/Aug/08 05:36 AM
Fixed by using the jython support to start and stop a pulse instance as a remote process. Note that this does not allow the StartCommand to be invoked inline, this is currently not possible due to threading, and with the availability of an alternative, not necessary.