You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jan Rinze (JIRA)" <ji...@apache.org> on 2016/07/06 09:58:11 UTC

[jira] [Commented] (QPID-7262) [Python Test Suite] Add tests for SSL/TLS

    [ https://issues.apache.org/jira/browse/QPID-7262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15364073#comment-15364073 ] 

Jan Rinze commented on QPID-7262:
---------------------------------

Both SSL and Kerberos login are not well supported with the qpid-python-test.

#qpid-python-test -b amqps://localhost
..
qpid.tests.messaging.endpoints.AddressTests.testLinkBindings .. fail
  AssertionError: expected Message('testLinkName[0, f32e53c1-1de0-4e74-8e9c-9fe38e62af54]'), got Message(properties={'x-amqp-0-10.timestamp': timestamp(1467798547.0)}, content='testLinkName[0, f32e53c1-1de0-4e74-8e9c-9fe38e62af54]'), delta {'properties': ({}, {'x-amqp-0-10.timestamp': timestamp(1467798547.0)})}
..
qpid.tests.messaging.endpoints.AddressTests.testReliabilityAtLeastOnce .. fail
  AssertionError: expected Message('testReliabilityAtLeastOnce[0, 0e5c1be2-6f76-4528-bf00-cd908b682710]'), got Message(properties={'x-amqp-0-10.timestamp': timestamp(1467798547.0)}, content='testReliabilityAtLeastOnce[0, 0e5c1be2-6f76-4528-bf00-cd908b682710]'), delta {'properties': ({}, {'x-amqp-0-10.timestamp': timestamp(1467798547.0)})}
..
Totals: 346 tests, 312 passed, 8 skipped, 0 ignored, 26 failed

Here the failures are because the assert is done on the whole message whereas the value to assert is only the message content.


> [Python Test Suite] Add tests for SSL/TLS
> -----------------------------------------
>
>                 Key: QPID-7262
>                 URL: https://issues.apache.org/jira/browse/QPID-7262
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Python Test Suite
>            Reporter: Lorenz Quack
>            Assignee: Lorenz Quack
>
> We should add tests to the Python Test Suite to test the clients ability to handle SSL/TLS connections and associated features (e.g., hostname verification)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org