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 KnowledgeAgentEventListenerTest.java. 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.
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com
On Sat, Dec 4, 2010 at 6:38 AM, Mark Proctor <mproctor(a)codehaus.org> wrote:
The KnowlegeAgent tests have been fragile for a while, related to
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