[jboss-jira] [JBoss JIRA] Commented: (JBRULES-1543) tests failing with JANINO

Edson Tirelli (JIRA) jira-events at lists.jboss.org
Mon Apr 7 13:31:05 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBRULES-1543?page=comments#action_12407349 ] 
            
Edson Tirelli commented on JBRULES-1543:
----------------------------------------

  All,

   Both test failures happen because they are not "expecting" to be ran with Janino due to known Janino limitations (like the Java 5 enhanced loop that Janino does not support).
 
org.drools.compiler.Java5Test(JANINO).testJava5Rule

org.drools.integrationtests.MiscTest(JANINO).testWithInvalidRule


   So, I'm improving both tests to hard code them to run only with JDT, so that you don't get such failures in the future. Is that a good solution for you?

   Regarding:

testAlphaEvalWithOrCE

   It should never be calling setDumpDir(). Someone committed that line by mistake.

   So, I'm fixing all this in our code base, but I don't think it is a reason to hold the release, as they are all test problems and not product problems.
     Anyway, how do you want me to handle this? shall I commit the fixes to CP02 branch or do you want me to "re-create CP01 branch" with these fixes?

  []s
  Edson 

> tests failing with JANINO
> -------------------------
>
>                 Key: JBRULES-1543
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-1543
>             Project: JBoss Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Aleksandar Kostadinov
>         Assigned To: Edson Tirelli
>
> Test suite of http://anonsvn.labs.jboss.com/labs/jbossrules/tags/DROOLS_SOA_4_2_19342_CP1 is failing when run with JANINO (mvn install -Ddrools.dialect.java.compiler=JANINO).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list