]
Davide Sottara commented on DROOLS-479:
---------------------------------------
As you pointed out, this test will work if you use the real time clock - there is no
concept of "frozen time" there :)
Pseudo Clock doesn't work for 2 not statements
----------------------------------------------
Key: DROOLS-479
URL:
https://issues.jboss.org/browse/DROOLS-479
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 6.0.1.Final, 6.1.0.Beta3
Environment: linux 14.04
Reporter: Richard Ambridge
Assignee: Mark Proctor
Labels: pseudoclock
If a rule (event) has the following:
+ "when\n"
+ " $s : Cheese(type==\"stinky\")\n"
+ " not( Cheese(type==\"a\", this after [0s,3s] $s )
)\n"
+ " not( Cheese(type==\"b\", this after [0s,5s] $s )
)\n" //2 * not
and pseudo clock is used, the rule doesn't fire.
If realtime clock is used, the rule works.