[jira] [Created] (QPIDIT-80) [jms_hdrs_props_test] Using option include-type and a value other than JMS_MESSAGE_TYPE causes failure

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jira] [Created] (QPIDIT-80) [jms_hdrs_props_test] Using option include-type and a value other than JMS_MESSAGE_TYPE causes failure

JIRA jira@apache.org
Kim van der Riet created QPIDIT-80:
--------------------------------------

             Summary: [jms_hdrs_props_test] Using option include-type and a value other than JMS_MESSAGE_TYPE causes failure
                 Key: QPIDIT-80
                 URL: https://issues.apache.org/jira/browse/QPIDIT-80
             Project: Apache QPID Interoperability Test Suite
          Issue Type: Bug
          Components: JMS Headers and Properties Test
            Reporter: Kim van der Riet
            Assignee: Kim van der Riet


If the option --include-type is used with a value other than {{JMS_MESSAGE_TYPE}}, every test fails with
{noformat}
Traceback (most recent call last):
  File "./install/lib/python2.7/site-packages/qpid_interop_test/jms_hdrs_props_test.py", line 423, in inner_test_method
    receive_shim)
  File "./install/lib/python2.7/site-packages/qpid_interop_test/jms_hdrs_props_test.py", line 246, in run_test
    if len(test_values) > 0:
TypeError: object of type 'NoneType' has no len()
{noformat}

This occurs because the test uses only JMS_MESSAGE_TYPE to perform this test, and using the option excludes this leaving the value map empty. This has been temporarily fixed by commenting out this option for this test. However, the intent is that this option will override the default and use the specified type for the test. Re-enable this option when this has been fixed.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...