[
https://issues.apache.org/jira/browse/OAK-6882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16265067#comment-16265067
]
Vikas Saurabh commented on OAK-6882:
------------------------------------
[~reschke], can you try observing failure once more. I have added another
sys.out at [r1816224|https://svn.apache.org/r1816224].
My hunch is that the comment in the test:
{code}
// send out 6 events (or in general: queue length + 1):
// event #0 will get delivered but stalls at the listener (queue empty
though)
// event #1-#5 will fill the queue - all must remain "local"
{code}
is not entirely accurate. I'm guessing that in failure cases (at least now) the
first event doesn't get dispatched while the other 5 also gets committed ...
thus overflowing the queue.
Sure, I could fix that case now, but, I would rather confirm what's failing us
before that :).
> ObservationQueueFullWarnTest.testQueueFullThenFlushing failing
> --------------------------------------------------------------
>
> Key: OAK-6882
> URL: https://issues.apache.org/jira/browse/OAK-6882
> Project: Jackrabbit Oak
> Issue Type: Test
> Components: jcr
> Affects Versions: 1.7.10
> Reporter: Julian Reschke
> Assignee: Vikas Saurabh
> Fix For: 1.8
>
> Attachments:
> TEST-org.apache.jackrabbit.oak.jcr.observation.ObservationQueueFullWarnTest.xml,
>
> org.apache.jackrabbit.oak.jcr.observation.ObservationQueueFullWarnTest-output.txt,
>
> org.apache.jackrabbit.oak.jcr.observation.ObservationQueueFullWarnTest-output.txt,
> org.apache.jackrabbit.oak.jcr.observation.ObservationQueueFullWarnTest.txt,
> org.apache.jackrabbit.oak.jcr.observation.ObservationQueueFullWarnTest.txt
>
>
> {noformat}
> [ERROR]
> testQueueFullThenFlushing[SegmentTar](org.apache.jackrabbit.oak.jcr.observation.ObservationQueueFullWarnTest)
> Time elapsed: 0.262 s <<< FAILURE!
> java.lang.AssertionError: Just filled queue must not convert local->external
> expected:<6> but was:<4>
> at
> org.apache.jackrabbit.oak.jcr.observation.ObservationQueueFullWarnTest.testQueueFullThenFlushing(ObservationQueueFullWarnTest.java:347)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)