Bug 1038627

Summary: Rule with after/before temporal operator does not fire with realtime clock
Product: [Retired] JBoss BRMS Platform 6 Reporter: Marek Winkler <mwinkler>
Component: BREAssignee: Edson Tirelli <etirelli>
Status: CLOSED NOTABUG QA Contact: Marek Winkler <mwinkler>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.0Keywords: Regression
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-05 14:45:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Marek Winkler 2013-12-05 14:02:24 UTC
Description of problem:

When using realtime clock, the rule in the PR specified below does not fire, although it fired in ER4. When set to pseudoclock, the test passes. The event used by the rule declares @timestamp and @duration attributes.

However, I am not sure if this is expected change in behaviour (and therefore the test should be updated), or a bug. Could you please confirm?

Version-Release number of selected component (if applicable):

Drools 6.0.0-SNAPSHOT
BRMS 6.0.0 ER5

The rule fired as expected in ER4.

How reproducible:

Run the CepAfterTest in drools-compiler tests from the attached pull request.

Actual results:

Rule does not fire as expected.

Expected results:

Rule fires.

Comment 1 Marek Winkler 2013-12-05 14:12:26 UTC
Pull request with reproducer: https://github.com/droolsjbpm/drools/pull/294

Comment 2 Marek Winkler 2013-12-05 14:45:13 UTC
Closing as NOTABUG because this is intended behaviour.