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

Python testReclaimCredit exposes test server messenger hang on windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-0.7
    • proton-0.8
    • proton-c
    • None
    • Windows Server 2012 R2
      Python 2.6.1

    Description

      PROTON-603 testCreditReclaim exposes another issue on Windows platforms. After the test failed at some assert then the teardown() function had another assert because the server never stopped. The second assert overwrites the first assert and hides the original error.

      teardown() can't call client2.work or stimulate client2 to shut down. This leaves the server stuck.

      The proposed fix is to promote client2 to be a class member and drive it in parallel with client and server. Other miscellaneous tweaks are required to get the package working on windows. Please see the review board entry.

      Attachments

        Activity

          People

            Unassigned Unassigned
            chug Charles E. Rolke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: