Hide Forgot
Description of problem: qpid_tests.broker_0_10.management.ManagementTest.test_immediate_method test is failing, possible cause: self.broker.port is not correctly set (see below) # /usr/bin/qpid-python-test -m qpid_tests qpid_tests.broker_0_10.management.ManagementTest.test_immediate_method qpid_tests.broker_0_10.management.ManagementTest.test_immediate_method ................................................................................................................................. fail Error during test: Traceback (most recent call last): File "/usr/bin/qpid-python-test", line 311, in run phase() File "/usr/lib/python2.6/site-packages/qpid_tests/broker_0_10/management.py", line 457, in test_immediate_method url = "%s://%s:%d" % (self.broker.scheme or "amqp", self.broker.host, self.broker.port) TypeError: %d format: a number is required, not NoneType Totals: 1 tests, 0 passed, 0 skipped, 0 ignored, 1 failed Version-Release number of selected component (if applicable): qpid-tests-0.12-1.el6.noarch How reproducible: 100% Steps to Reproduce: 1. /usr/bin/qpid-python-test -m qpid_tests qpid_tests.broker_0_10.management.ManagementTest.test_immediate_method Actual results: test_immediate_method unit test is failing Expected results: test_immediate_method unit test is passing Additional info:
Petr, what version was this?
This is not a bug, I wasn't aware that there are few unit tests that expects the use of '--broker' option to execute the test properly. When running with following command the test result is PASS: # /usr/bin/qpid-python-test -m qpid_tests --broker localhost:5672 qpid_tests.broker_0_10.management.ManagementTest.test_immediate_method -> NOTABUG