Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-6800

Fix PackageInMultipleResourcesTest to cleanup FakeDRFAssemblerService

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.65.0.Final
    • None
    • core engine
    • None
    • 2022 Week 02-04 (from Jan 10)
    • 1
    • Hide
      • Change <surefire.forkCount> to '1' in drools-test-coverage/test-compiler-integration/pom.xml
      • mvn test "-Dtest=PackageInMultipleResourcesTest, KieBuilderTest"

      results in

      [ERROR] Failures: 
      [ERROR]   KieBuilderTest.testAddMissingResourceToPackageBuilder:497 
      Expecting code to raise a throwable.
      
      Show
      Change <surefire.forkCount> to '1' in drools-test-coverage/test-compiler-integration/pom.xml mvn test "-Dtest=PackageInMultipleResourcesTest, KieBuilderTest" results in [ERROR] Failures: [ERROR] KieBuilderTest.testAddMissingResourceToPackageBuilder:497 Expecting code to raise a throwable.
    • NEW
    • NEW

    Description

      Other tests could be affected by PackageInMultipleResourcesTest. e.g. KieBuilderTest.testAddMissingResourceToPackageBuilder potentially fails (depends on surefire fork and test order).

      Fix PackageInMultipleResourcesTest to cleanup FakeDRFAssemblerService.

      Attachments

        Issue Links

          Activity

            People

              rhn-support-tkobayas Toshiya Kobayashi
              rhn-support-tkobayas Toshiya Kobayashi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: