Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-1595

Rules not fired when RUN_TYPE==STANDARD_FROM_DRL and when the constraint is jitted

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 7.12.0.GA
    • 7.11.0.GA
    • BRE
    • None
    • java-1.8.0-openjdk (locally with java 11 oracle)
      RHEL8 (locally with Fedora)

    • False
    • False
    • ER1
    • -
    • Undefined
    • Hide
      command line

      please run mvn clean install -Dtest=org.drools.modelcompiler.TypeObjectCoercionTest -Ddrools.jittingThreshold=0

      IDE

      please add -Ddrools.jittingThreshold=0 param in the run configs and then run one of the failing tests (TypeObjectCoercionTest.testJoinStringToObject2 for example)

      Show
      command line please run mvn clean install -Dtest=org.drools.modelcompiler.TypeObjectCoercionTest -Ddrools.jittingThreshold=0 IDE please add -Ddrools.jittingThreshold=0 param in the run configs and then run one of the failing tests (TypeObjectCoercionTest.testJoinStringToObject2 for example)
    • 2021 Week 25-27 (from Jun 21)

      Some tests added to the newly created test class TypeObjectCoercionTest (see this commit) are failing when RUN_TYPE == STANDARD_FROM_DRL and when the constraint is jitted. This failure was detected on the QE nightly jobs.

      Log

      [ERROR] Failures:
      [ERROR] MvelDialectTest.testBigDecimalModulo:502 expected:<1> but was:<0>
      [ERROR] TypeObjectCoercionTest.testJoinObjectToString2:76 expected:<0> but was:<1>
      [ERROR] TypeObjectCoercionTest.testJoinStringToObject2:170 expected:<1> but was:<0>
      [ERROR] TypeObjectCoercionTest.testJoinStringToObjectNonComparable:223 expected:<0> but was:<1>
      [ERROR] Tests run: 2281, Failures: 4, Errors: 0, Skipped: 8
      [ERROR] There are test failures.

      For example:

      TypeObjectCoercionTest.testJoinStringToObject2 IDE output

      [STANDARD_FROM_DRL]
      testJoinStringToObject2[STANDARD_FROM_DRL] FAILED
      [FLOW_DSL]
      testJoinStringToObject2[FLOW_DSL] PASSED
      [PATTERN_DSL]
      testJoinStringToObject2[PATTERN_DSL] PASSED

            rhn-support-tkobayas Toshiya Kobayashi
            drosabrno Daniel Rosa
            Paolo Bizzarri Paolo Bizzarri
            Paolo Bizzarri Paolo Bizzarri
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: