[jboss-jira] [JBoss JIRA] (DROOLS-1271) CepEspTest.testEventWithShortExpiration() needs another fireAllRules to flush the Propagation Queue

Tibor Zimányi (JIRA) issues at jboss.org
Fri Sep 2 04:40:01 EDT 2016


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)



More information about the jboss-jira mailing list