[
https://issues.apache.org/jira/browse/QPID-6080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14124929#comment-14124929
]
Keith Wall edited comment on QPID-6080 at 9/7/14 3:37 PM:
----------------------------------------------------------
Changes look reasonable to me and the failing tests are fixed. We should
request for 0.30.
was (Author: k-wall):
Changes look reasonable to me. We should request for 0.30.
> Python MessageEchoTests fails against Java Broker
> -------------------------------------------------
>
> Key: QPID-6080
> URL: https://issues.apache.org/jira/browse/QPID-6080
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker, Python Test Suite
> Affects Versions: 0.30, 0.31
> Reporter: Keith Wall
> Assignee: Keith Wall
> Fix For: 0.31
>
>
> Running the Python 0-10 MessageEchoTests test suite against the Java Broker
> (trunk with "secureOnlyMechanisms" : [ ] applied to the auth provider), I see
> the following tests fail. The python assertion suggests the message body is
> not as expected.
> Broker receiving MessageTransfer:
> {noformat}
> 2014-09-06 21:26:02,982 DEBUG [IoReceiver - /0:0:0:0:0:0:0:1:56574]
> (transport.Connection) - RECV: [conn:49b9b979] ch=0 [S]
> MessageTransfer(destination=)
> DeliveryProperties(deliveryMode=NON_PERSISTENT,
> routingKey=test-message-echo-queue)
> MessageProperties(applicationHeaders={a=A, c=[x, 2], b=1, d=D})
> {noformat}
> Broker sending MessageTransfer:
> {noformat}
> 2014-09-06 21:26:02,985 DEBUG [pool-4-thread-7] (transport.Connection) -
> SEND: [conn:49b9b979] ch=0 id=4 [B] MessageTransfer(destination=0,
> acceptMode=EXPLICIT, acquireMode=PRE_ACQUIRED)
> DeliveryProperties(deliveryMode=NON_PERSISTENT,
> routingKey=test-message-echo-queue)
> MessageProperties(applicationHeaders={a=A, c=[x, 2], b=1, d=D})
> body=""
> {noformat}
> The test does not fail against 0.28.
> {noformat}
> qpid.tests.messaging.message.MessageEchoTests.testApplicationProperties
> ...............................................................................
> fail
> Error during test: Traceback (most recent call last):
> File "./qpid-python-test", line 340, in run
> phase()
> File "/Users/keith/src/qpid/qpid/python/qpid/tests/messaging/message.py",
> line 123, in testApplicationProperties
> self.check(msg)
> File "/Users/keith/src/qpid/qpid/python/qpid/tests/messaging/message.py",
> line 71, in check
> self.assertEcho(msg, echo)
> File
> "/Users/keith/src/qpid/qpid/python/qpid/tests/messaging/__init__.py", line
> 127, in assertEcho
> assert not delta, "expected %s, got %s, delta %s" % (msg, echo, delta)
> AssertionError: expected Message(properties={'a': u'A', 'c': ['x', 2], 'b':
> 1, 'd': 'D'}), got Message(properties={u'a': u'A', u'c': [u'x', 2], u'b': 1,
> 'x-amqp-0-10.routing-key': u'test-message-echo-queue', u'd': u'D'},
> content=''), delta {'content': (None, '')}
> Totals: 111 tests, 0 passed, 0 skipped, 110 ignored, 1 failed
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]