[
https://issues.apache.org/jira/browse/QPID-4091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13402537#comment-13402537
]
Robbie Gemmell commented on QPID-4091:
--------------------------------------
It turns out there is already a (broken) test for this:
FaultTest#testTransactionTimeout.
It is missing a fail() statement for when the expected exception isnt thrown,
and its also incorrectly assuming the timeout value is in milliseconds. As a
result, it will actually be 'working' and catching an exception against the
Java broker currently because the broker is also incorrectly assuming the
timeout is in milliseconds, but it wont be catching an exception from the C++
broker like it should be and yet will still pass.
> [Java Broker] Incorrect handling of timeout values on DtxSetTimeout
> -------------------------------------------------------------------
>
> Key: QPID-4091
> URL: https://issues.apache.org/jira/browse/QPID-4091
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: 0.16
> Reporter: Rob Godfrey
> Assignee: Rob Godfrey
> Fix For: 0.17
>
>
> As pointed out by Robbie
> (http://qpid.2158936.n2.nabble.com/XA-RBTIMEOUT-tp7578929p7578994.html) the
> Java Broker is incorrectly interpretting the timeout value in milliseconds
> rather than seconds
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]