Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-1771

[c-proactor] multi-thread race test for proactor

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Done
    • proton-c-0.20.0
    • proton-c-0.23.0
    • proton-c
    • None

    Description

      Crate a new test exe that runs for a (configurable, default short) period of
      time, with a single proactor acted on by multiple proactor and user threads. Run
      with helgrind or tsan to detect races.

      Exercise potentially racy APIs concurrently:

      • making, accepting and closing (from both ends) a connection.
      • pn_connection_wake
      • pn_proactor_release_connection
      • re-use of released pn_connection_t on a new connection
      • timeout
      • concurrent with some normal use: sending/receiving messages.

      Attachments

        Activity

          People

            aconway Alan Conway
            aconway Alan Conway
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: