[
https://issues.apache.org/jira/browse/OAK-6882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vikas Saurabh resolved OAK-6882.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.7.12
Thanks [~reschke] for the patience. It seems my guess was right.
This is how the test executed on my setup
{noformat}
- Event{type=4, path=/testNode/init, identifier=/testNode,
info={jcr:primaryType=nt:unstructured, afterValue=1}, userID=admin,
userData=null, date=1511539194897, external=false}
storing: /testNode/local0
Have got an event but we shall first stall. Current counter: 0
storing: /testNode/local1
storing: /testNode/local2
{noformat}
.... compare that to
[^org.apache.jackrabbit.oak.jcr.observation.ObservationQueueFullWarnTest-output.txt]
{noformat}
- Event{type=4, path=/testNode/init, identifier=/testNode,
info={jcr:primaryType=nt:unstructured, afterValue=1}, userID=admin,
userData=null, date=1511528808598, external=false}
storing: /testNode/local0
storing: /testNode/local1
storing: /testNode/local2
storing: /testNode/local3
storing: /testNode/local4
storing: /testNode/local5
Have got an event but we shall first stall. Current counter: 0
GOT: 1 - COUNTER: 1
- Event{type=4, path=/testNode/local0, identifier=/testNode,
info={jcr:primaryType=nt:unstructured, afterValue=0}, userID=admin,
userData=null, date=1511528808713, external=false}
{noformat}
where the new sys.out.println came after saving all changes.
I have improved the test at [r1816239|https://svn.apache.org/r1816239]. I think
this should fix the test for good :). Resolving the issue.
> 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, 1.7.12
>
> Attachments:
> TEST-org.apache.jackrabbit.oak.jcr.observation.ObservationQueueFullWarnTest.xml,
>
> TEST-org.apache.jackrabbit.oak.jcr.observation.ObservationQueueFullWarnTest.xml,
>
> 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-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,
> 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)