Okay, after much investigation, it turns out the tests were A) using .execute, rather than insert and fireallrules type behaviour, so i refactored that to improve them a bit (gave me more control).
after that, and using the debug tools suggested it lead me to the root cause of the problem. someone when constructing the inbound facts had called Calendar.getInstance() mutiple times, for different fields, which should actually have been the same date/time, and hence sometimes the tests passed, sometimes they failed. sorted it now :-) -- View this message in context: http://drools.46999.n3.nabble.com/Drools-6-Junit-Random-Failures-tp4029379p4029387.html Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users