Mark, let me know if you need some help since this is one of the task in my (almost eternal) TODO list. You can take a look at Using KnowledgeAgentEventListener, you can be notified when the rule base is recreated and there is no need to wait for x seconds anymore.  
Take a look at the waitUntilChangeSetApplied() method there.



Esteban Aliverti
- Developer @
- Blog @

On Sat, Dec 4, 2010 at 6:38 AM, Mark Proctor <> wrote:
The KnowlegeAgent tests have been fragile for a while, related to "wait"
code and file issues, particularly on windows. Something has changed
recently and now they aren't working on the linux hudson server either.

So I'm now in the process of refactoring the tests to make them more
robust, and they will hopefully run faster too, as I'll use call backs
when something has finished instead of waiting for X seconds in the hope
that something has finished.


rules-dev mailing list