QueueBrowserAutoAckTest .testBrowseWithSelector doesn't uses selectors
----------------------------------------------------------------------
Key: QPID-1462
URL: https://issues.apache.org/jira/browse/QPID-1462
Project: Qpid
Issue Type: Bug
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.