qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Wall (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-3521) failover process for the 0-8 client does not clear the pre-dispatch queue
Date Wed, 05 Aug 2015 18:55:05 GMT

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

Keith Wall commented on QPID-3521:
----------------------------------

It appears that commit r1694254 is causing a unit test failure:

{noformat}
Running org.apache.qpid.client.AMQSession_0_8Test
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.682 sec <<< FAILURE!
- in org.apache.qpid.client.AMQSession_0_8Test
testResubscribe(org.apache.qpid.client.AMQSession_0_8Test)  Time elapsed: 0.369 sec  <<<
FAILURE!
org.mockito.exceptions.verification.WantedButNotInvoked:
Wanted but not invoked:
unprocessedMessage.dispatch(
    org.apache.qpid.client.AMQSession_0_8@6f7923a5
);
-> at org.apache.qpid.client.AMQSession_0_8Test.testResubscribe(AMQSession_0_8Test.java:165)

However, there were other interactions with this mock:
-> at org.apache.qpid.client.AMQSession.messageReceived(AMQSession.java:1712)

	at org.apache.qpid.client.AMQSession_0_8Test.testResubscribe(AMQSession_0_8Test.java:165)


Results :

Failed tests:
  AMQSession_0_8Test>QpidTestCase.run:156->QpidTestCase.runTest:171->testResubscribe:165
Wanted but not invoked:
unprocessedMessage.dispatch(
    org.apache.qpid.client.AMQSession_0_8@6f7923a5
);
-> at org.apache.qpid.client.AMQSession_0_8Test.testResubscribe(AMQSession_0_8Test.java:165)

However, there were other interactions with this mock:
-> at org.apache.qpid.client.AMQSession.messageReceived(AMQSession.java:1712)
{noformat}


> failover process for the 0-8 client does not clear the pre-dispatch queue
> -------------------------------------------------------------------------
>
>                 Key: QPID-3521
>                 URL: https://issues.apache.org/jira/browse/QPID-3521
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>            Reporter: Robbie Gemmell
>            Assignee: Keith Wall
>              Labels: failover
>         Attachments: clear-dispatch-queue-on-failover.diff
>
>
> failover process for the 0-8 client does not clear the pre-dispatch queue, only the consumer
receive queue.
> This is currently masked by an issue with the rollbackMark. The changes made in QPID-3546
to fix the 0-10 client path need to be applied to the 0-8/9/9-1 client path when this issue
is resolved.



--
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