[jboss-jira] [JBoss JIRA] (DROOLS-479) Pseudo Clock doesn't work for 2 not statements

Davide Sottara (JIRA) issues at jboss.org
Fri May 30 09:17:15 EDT 2014


    [ https://issues.jboss.org/browse/DROOLS-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12971965#comment-12971965 ] 

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.



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jboss-jira mailing list