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

Intermittent failure in Drools

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Ansible Integration
    • None

      Description

      There is a race condition in Drools which causes certain events to be skipped, we were seeing intermittent test failures related to this.

      Steps to Reproduce

      I ran the following pytests locally to get it to happen once in a while

      • pytest -m "e2e" -n auto --cov=./ --cov-report=xml
      • pytest -m "long_run" -vv -n auto --cov=./ --cov-report=xml
      • pytest -m "not e2e and not long_run" -vv -n auto --cov=./ --cov-report=xml

      The auto spins up multiple pythons and the chances of seeing the failure increases, if we run the tests in line one after the other the chances are less

      Actual Behavior

      Tests fail intermittently

      Expected Behavior

      Tests should pass consistently

              mfusco@redhat.com Mario Fusco
              mkanoor Madhu Kanoor
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: