]
Lukáš Petrovický updated DROOLS-948:
------------------------------------
Labels: reported-by-qe (was: )
testEventWithShortExpiration() in CepEspTest and CepJavaTypeTest
fails
----------------------------------------------------------------------
Key: DROOLS-948
URL:
https://issues.jboss.org/browse/DROOLS-948
Project: Drools
Issue Type: Bug
Reporter: Tibor Zimányi
Assignee: Mark Proctor
Priority: Minor
Labels: reported-by-qe
Last assert in testEventWithShortExpiration() sometimes fails because sometimes the event
don't have time to expire (although there is 1ms expiration defined) after
fireAllRules is called in the test before the assert. There should be some sleep time
added before the assert.
The fail is nondeterministic and this nondeterminism is because 1ms expire time can be
longer because of jvm scheduler. Issue can be reproduced by running the test in a for loop
with e.g. 1000 iterations.