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.
Best, XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Sat, Dec 4, 2010 at 6:38 AM, Mark Proctor <mproc...@codehaus.org> 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. > > Mark > > _______________________________________________ > rules-dev mailing list > rules-dev@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-dev >
_______________________________________________ rules-dev mailing list rules-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-dev