qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-6080) Python MessageEchoTests fails against Java Broker
Date Mon, 08 Sep 2014 12:33:28 GMT

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

ASF subversion and git services commented on QPID-6080:
-------------------------------------------------------

Commit 1623376 from [~godfrer] in branch 'qpid/branches/0.30'
[ https://svn.apache.org/r1623376 ]

QPID-6080 : Merged revision 1622968 from trunk to 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.30
>
>
> 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message