Uploaded image for project: 'mdsal'
  1. mdsal
  2. MDSAL-393

Revise AbstractConcurrentDataBrokerTest design

    XMLWordPrintable

Details

    • Improvement
    • Status: Confirmed
    • Medium
    • Resolution: Unresolved
    • None
    • 14.0.0
    • Binding runtime

    Description

      The design of AbstractConcurrentDataBrokerTest constructor is very misleading, as "single threaded executor" is in fact directExecutor(). There is no provision for controlling timing of delivered DTCLs and users are not guided towards a proper alternative.

      This is highly misleading, as users doing integration tests with predictable DTCL delivery use directExecutor(), which ties together producers and consumers - hence deadlocking and users are lead to believe there is something from in their code.

      A replacement should really have two favors:

      • don't care about DTCL delivery, run asynchronously
      • postpone DTCLs and allow the test to deliver them as needed (all or one by one)

       

      Attachments

        Issue Links

          # Subject Branch Project Status CR V

          Activity

            People

              Unassigned Unassigned
              rovarga Robert Varga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: