qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Ritchie (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Updated: (QPID-2390) Expose Queue Purge functionalitiy for test clean up.
Date Fri, 05 Feb 2010 15:27:27 GMT

     [ https://issues.apache.org/jira/browse/QPID-2390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Martin Ritchie updated QPID-2390:

    Attachment: QPID-2369-clear-queue.diff

Add patch that exposes the Clear Queue method and uses it in the performance tests to clean
up when an exception occurs.

> Expose Queue Purge functionalitiy for test clean up.
> ----------------------------------------------------
>                 Key: QPID-2390
>                 URL: https://issues.apache.org/jira/browse/QPID-2390
>             Project: Qpid
>          Issue Type: New Feature
>          Components: Java Client, Java Performance Tests, Java Tests
>    Affects Versions: 0.6
>            Reporter: Martin Ritchie
>            Priority: Minor
>         Attachments: QPID-2369-clear-queue.diff
> To aid in cleaning up of the tests in the event of failure exposing the queue purge method
on AMQSession, as we do with queue delete, will give us a clean and easy way to empty a given
> This approach is more favourable than simply receiving the messages from the queue for
two reasons.
> 1) The test may be faiiing  because it cannot receive the messages fast enough. This
may prevent a successful clean by simply calling receive till null.
> 2) We can guarrantee that the queue will be emptied when the purge returns.
> By exposing it we are adding a new method to maintain, though this is an AMQP feature
and so arguably we should already be exposing it. System testing for this new feature would
be required.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org

View raw message