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

Executing examples/python/test_examples.py hangs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • proton-c-0.17.0
    • None
    • examples
    • None
    • Fedora 26.

    Description

      dnf install python-qpid-proton-docs
      dnf install python2-case python2-tornado
      export PN_SASL_CONFIG_PATH=/usr/share/proton-0.17.0/examples/python
      export PYTHON_PATH=/usr/share/proton-0.17.0/examples/python
      chmod 755 *.py
      chmod 644 test_examples.py
      nosetests -v
      test hangs...

      This is because test expects server_direct.py to accept connections to "localhost", but it does not.

      Gordon Sim suggested (1) add ability to specify address in server_direct.py and (2) change the test to use "localhost" when invoking server_direct.py.

      Attachments

        Activity

          People

            jross Justin Ross
            iboverma Irina Boverman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: