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

Martin Ritchie updated QPID-1462:
---------------------------------

          Component/s: Java Tests
    Affects Version/s: M4
                       M3

> QueueBrowserAutoAckTest .testBrowseWithSelector doesn't uses selectors
> ----------------------------------------------------------------------
>
>                 Key: QPID-1462
>                 URL: https://issues.apache.org/jira/browse/QPID-1462
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: M3, M4
>            Reporter: Martin Ritchie
>
> Summary:
> Test is also not testing Selectors!
>         QueueBrowser queueBrowser = selector == null ? 
> _clientSession.createBrowser(_queue, selector) : 
> _clientSession.createBrowser(_queue);
> The check is not required as if the selector is null it doesn't use it! 
> The test is also quite broken:
> It uses a selector : "Message_ID_Property % 3" (Where 3 is the number of 
> clients in the test ranges 2..10) which is not valid. 
> The test also always sends 40 msgs
> But expects 40 / clientCount back.
> It then only checks that it gets that count back not checking if there were 
> more.. which will be the case when clients is not a factor of 40.

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

Reply via email to