Tibor Zimányi created DROOLS-1271:
-------------------------------------
Summary: CepEspTest.testEventWithShortExpiration() needs another fireAllRules
to flush the Propagation Queue
Key: DROOLS-1271
URL:
https://issues.jboss.org/browse/DROOLS-1271
Project: Drools
Issue Type: Enhancement
Components: core engine
Reporter: Tibor Zimányi
Assignee: Mario Fusco
Priority: Minor
Test CepEspTest.testEventWithShortExpiration sometimes fails, but it's a false
positive. There's a race condition in the test between fireAllRules, which flushes
PropagationQueue, and timer job that puts event expiration action into PropagationQueue.
So other fireAllRules is needed in the test that will flush the queue again so we test
that all expired objects are removed from the engine.
I will make a PR for this.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)