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

Francesco Mari updated OAK-7449:
--------------------------------
    Fix Version/s: 1.10

> ObservationQueueFullWarnTest#testQueueFullThenFlushing requires to know the 
> number of events upfront
> ----------------------------------------------------------------------------------------------------
>
>                 Key: OAK-7449
>                 URL: https://issues.apache.org/jira/browse/OAK-7449
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: jcr
>            Reporter: Francesco Mari
>            Assignee: Francesco Mari
>            Priority: Major
>             Fix For: 1.10
>
>
> The test {{ObservationQueueFullWarnTest#testQueueFullThenFlushing}} uses 
> {{EventIterator#getSize}} but it always assumes that the method returns a 
> positive value. Instead, the Javadoc for {{EventIterator#getSize}} states 
> that the implementation must return {{-1}} if there aren't any information 
> about the precise number of elements. The test should be adapted in order to 
> account for this corner case.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to