Bug 724177 (BRMS-120) - unit tests against platform distribution
Summary: unit tests against platform distribution
Keywords:
Status: CLOSED NEXTRELEASE
Alias: BRMS-120
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: BRE (Expert, Fusion)
Version: 5.0.0.CR2
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: CONTINUING,BRMS 5.2.0.GA
Assignee: Mark Proctor
QA Contact:
URL: http://jira.jboss.org/jira/browse/BRM...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-13 12:31 UTC by Aleksandar Kostadinov
Modified: 2011-08-19 04:39 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-31 19:53:04 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker BRMS-120 0 None Closed unit tests against platform distribution 2011-08-22 04:44:59 UTC

Description Aleksandar Kostadinov 2009-05-13 12:31:54 UTC
Date of First Response: 2009-05-13 11:22:37
securitylevel_name: Public

I see the following unit tests failing:
# org.drools.reteoo.SchedulerTest.testDoLoopScheduledActivation
# org.drools.compiler.Java5Test(JANINO).testJava5Rule
# org.drools.integrationtests.AccumulateTest(JANINO).testAccumulateReverseModify
# org.drools.integrationtests.AccumulateTest(JANINO).testAccumulateReverseModify2
# org.drools.integrationtests.AccumulateTest(JANINO).testAccumulateMultiPatternJava
# org.drools.integrationtests.AccumulateTest(JANINO).testAccumulateWithPreviouslyBoundVariables
# org.drools.integrationtests.AccumulateTest(JANINO).testAccumulateGlobals
# org.drools.integrationtests.DynamicRulesTest(ECLIPSE).testDynamicFunction
# org.drools.integrationtests.DynamicRulesTest(JANINO).testDynamicFunction
# org.drools.integrationtests.MiscTest(JANINO).testWithInvalidRule

see http://hudson.qa.jboss.com/hudson/view/BRMS/job/brms-rules-single/18/testReport/

For the tests classpath are used all jars from the BRMS distribution + 
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>3.8.1</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.jmock</groupId>
            <artifactId>jmock</artifactId>
            <version>2.5.1</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.jmock</groupId>
            <artifactId>jmock-legacy</artifactId>
            <version>2.5.1</version>
            <scope>test</scope>
        </dependency>
        <!-- Compiler dependencies -->
        <dependency><!-- TODO remove me as xstream brings in xpp3_min -->
             <groupId>xpp3</groupId>
             <artifactId>xpp3</artifactId>
             <version>1.1.3.4.O</version>
        </dependency>
        <dependency>
           <groupId>org.mortbay.jetty</groupId>
           <artifactId>jetty-embedded</artifactId>
           <version>6.1.15</version>
           <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.antlr</groupId>
            <artifactId>antlr</artifactId>
                <version>3.1.1</version>
                <exclusions>
                  <exclusion>
                    <groupId>org.antlr</groupId>
                    <artifactId>stringtemplate</artifactId>
                  </exclusion>      
                  <exclusion>
                    <groupId>org.apache.maven</groupId>
                    <artifactId>maven-project</artifactId>
                  </exclusion>
                </exclusions>                                             
        </dependency>

Comment 1 Jaroslaw Kijanowski 2009-05-13 15:22:37 UTC
Hey Mark,
 could you have a look at the test report?  We're seeing this issues when running the drools testsuite from http://anonsvn.labs.jboss.com/labs/jbossrules/tags/5.0.0.26115.FINAL/ against the bits we ship with BRMS (also built from this tag).

Thanks.

Comment 2 John Graham 2009-06-15 20:27:23 UTC
Mark, 

Any update on this?

Comment 3 Aleksandar Kostadinov 2009-09-07 17:53:43 UTC
org.drools.integrationtests.DynamicRulesTest(ECLIPSE).testDynamicFunction
org.drools.integrationtests.DynamicRulesTest(JANINO).testDynamicFunction
are *not* failing in 5.0.1

org.drools.integrationtests.ExecutionFlowControlTest(ECLIPSE).testRuleFlowGroupInActiveMode
org.drools.integrationtests.ExecutionFlowControlTest(JANINO).testRuleFlowGroupInActiveMode
transient/fail on some test runs and pass on others 

Comment 4 Len DiMaggio 2011-05-31 19:53:04 UTC
This will be tested in the first 5.2 build.


Note You need to log in before you can comment on or make changes to this bug.