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

ConcurrentModificationException in legacy test scenarios

XMLWordPrintable

    • 2021 Week 28-30 (from Jul 12), 2021 Week 31-33 (from Aug 2)
    • Hide
      1. Download https://github.com/kiegroup/drools-wb/pull/1505
      2. Go to drools-wb/drools-wb-screens/drools-wb-test-scenario-editor/drools-wb-test-scenario-editor-backend
      3. Run: mvn clean verify -Dtest=ScenarioRunnerServiceTest#testMemberOfFormula

      Current: test will fail as:
      ScenarioRunnerServiceTest.testMemberOfFormula:217->testScenario:264 expected:<true> but was:<false>

      Expected: test will pass

      Alternatively you can import attached project into business central, build the project and then press the Test button.

      Show
      Download https://github.com/kiegroup/drools-wb/pull/1505 Go to drools-wb/drools-wb-screens/drools-wb-test-scenario-editor/drools-wb-test-scenario-editor-backend Run: mvn clean verify -Dtest=ScenarioRunnerServiceTest#testMemberOfFormula Current: test will fail as: ScenarioRunnerServiceTest.testMemberOfFormula:217->testScenario:264 expected:<true> but was:<false> Expected: test will pass Alternatively you can import attached project into business central, build the project and then press the Test button.
    • Undefined
    • NEW
    • NEW

      This issue is related to RHPAM-2829. The problem is such a specific project will work on 7.11.1 product release, however it doesn't work on 7.12.0 upcoming product release.

      The problem can be seen as [1]. The test scenario partial checks are green, however the main result is red (right side panel).

      During debugging I spotted a Concurrent Modification Exception [2]

      Reproducer created as:

      [1]

      [2]

              rh-ee-jomarko Jozef Marko (Inactive)
              rh-ee-jomarko Jozef Marko (Inactive)
              Jan Stastny Jan Stastny
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: