Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-18720

Occasional Dali subscription unit test failure due to race condition

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.0
    • Component/s: unittests
    • Labels:
      None

      Description

      Error reported:

      TestResult:unittest:total:154 passed:153 failed:1 errors:0 timeout:0
      Run:  5   Failures: 1   Errors: 0
      1) test: CDaliSDSTests::testSDSSubs2 (F) line: 1233 /root/build/CE/platform/HPCC-Platform/testing/unittests/dalitests.cpp
      

      This is an old test that has inherent timing issues + thread safety issues. If a subscription message wasn't received quickly enough a mismatch will occur.

        Attachments

          Activity

            People

            • Assignee:
              jakesmith Jake Smith
              Reporter:
              jakesmith Jake Smith
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: