[jboss-jira] [JBoss JIRA] (DROOLS-948) testEventWithShortExpiration() in CepEspTest and CepJavaTypeTest fails

Lukáš Petrovický (JIRA) issues at jboss.org
Mon Jan 4 06:58:24 EST 2016


     [ https://issues.jboss.org/browse/DROOLS-948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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. 



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jboss-jira mailing list