Vikas Saurabh created OAK-6639: ---------------------------------- Summary: ObservationQueueFullWarnTest.testQueueFullThenFlushing fails sometimes Key: OAK-6639 URL: https://issues.apache.org/jira/browse/OAK-6639 Project: Jackrabbit Oak Issue Type: Test Components: jcr Reporter: Vikas Saurabh Assignee: Vikas Saurabh Priority: Minor Fix For: 1.8
Very intermittently, {{ObservationQueueFullWarnTest.testQueueFullThenFlushing}} fails. It had failed once in one of our internal CI setups. And recently (thankfully??) on apache setup \[0] \[1]. Description from Apache failure: ---- h4. Error Message Just filled queue must not convert local->external expected:<6> but was:<4> h4. Stacktrace {noformat} 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:312) {noformat} h4. Standard Output {noformat} storing: /testNode/local0 storing: /testNode/local1 storing: /testNode/local2 storing: /testNode/local3 storing: /testNode/local4 storing: /testNode/local5 GOT: 1 - COUNTER: 1 - Event{type=4, path=/testNode/local0, identifier=/testNode, info={jcr:primaryType=nt:unstructured, afterValue=0}, userID=admin, userData=null, date=1504862948917, external=false} GOT: 1 - COUNTER: 2 - Event{type=4, path=/testNode/local1, identifier=/testNode, info={jcr:primaryType=nt:unstructured, afterValue=1}, userID=admin, userData=null, date=1504862948918, external=false} GOT: 1 - COUNTER: 3 - Event{type=4, path=/testNode/local2, identifier=/testNode, info={jcr:primaryType=nt:unstructured, afterValue=2}, userID=admin, userData=null, date=1504862948919, external=false} GOT: 1 - COUNTER: 4 - Event{type=4, path=/testNode/local3, identifier=/testNode, info={jcr:primaryType=nt:unstructured, afterValue=3}, userID=admin, userData=null, date=1504862948919, external=false} GOT: 2 - COUNTER: 6 - Event{type=4, path=/testNode/local4, identifier=/testNode, info={jcr:primaryType=nt:unstructured, afterValue=4}, userID=oak:unknown, userData=null, date=1504862873156, external=true} - Event{type=4, path=/testNode/local5, identifier=/testNode, info={jcr:primaryType=nt:unstructured, afterValue=5}, userID=oak:unknown, userData=null, date=1504862873156, external=true} {noformat} ---- \[0]: https://builds.apache.org/job/Jackrabbit%20Oak/722/ \[1]: https://builds.apache.org/job/Jackrabbit%20Oak/722/org.apache.jackrabbit$oak-jcr/testReport/junit/org.apache.jackrabbit.oak.jcr.observation/ObservationQueueFullWarnTest/testQueueFullThenFlushing_SegmentTar_/ -- This message was sent by Atlassian JIRA (v6.4.14#64029)