[jboss-jira] [JBoss JIRA] (DROOLS-2426) ParallelEvaluationTest.testFireUntilHaltWithExpiration2 fails with lower amount of processors

Tibor Zimányi (JIRA) issues at jboss.org
Tue Mar 27 09:13:00 EDT 2018


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

Tibor Zimányi updated DROOLS-2426:
----------------------------------
    Summary: ParallelEvaluationTest.testFireUntilHaltWithExpiration2 fails with lower amount of processors  (was: ParallelEvaluationTest.testFireUntilHaltWithExpiration2 fails on slower machines)


> ParallelEvaluationTest.testFireUntilHaltWithExpiration2 fails with lower amount of processors
> ---------------------------------------------------------------------------------------------
>
>                 Key: DROOLS-2426
>                 URL: https://issues.jboss.org/browse/DROOLS-2426
>             Project: Drools
>          Issue Type: Bug
>          Components: core engine
>    Affects Versions: 7.7.0.Final
>            Reporter: Tibor Zimányi
>            Assignee: Tibor Zimányi
>
> The test ParallelEvaluationTest.testFireUntilHaltWithExpiration2 contains a Thread.sleep() call [1] which makes the test fail on slower machines, because it lets the test execution run sooner than fireUntilHalt does all firings. 
> [1] https://github.com/kiegroup/drools/blob/ffa6f44a10fa50f3227491968f9166b570a75f6a/drools-compiler/src/test/java/org/drools/compiler/integrationtests/ParallelEvaluationTest.java#L668



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jboss-jira mailing list