Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-3681

SegmentSizeTest.testAccessControlNodes() and testNodeSize() fail

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.12, 1.4
    • Component/s: core, segmentmk
    • Labels:
      None
    • Environment:

      Oracle Java 1.8.0_65

      Description

      Failed on travis: https://travis-ci.org/apache/jackrabbit-oak/builds/93310633 and also reproduces in my local checkout.

      testAccessControlNodes(org.apache.jackrabbit.oak.plugins.segment.SegmentSizeTest)  Time elapsed: 0.003 sec  <<< FAILURE!
      junit.framework.AssertionFailedError: expected:<112> but was:<96>
      	at junit.framework.Assert.fail(Assert.java:57)
      	at junit.framework.Assert.failNotEquals(Assert.java:329)
      	at junit.framework.Assert.assertEquals(Assert.java:78)
      	at junit.framework.Assert.assertEquals(Assert.java:234)
      	at junit.framework.Assert.assertEquals(Assert.java:241)
      	at org.apache.jackrabbit.oak.plugins.segment.SegmentSizeTest.testAccessControlNodes(SegmentSizeTest.java:121)
      
      testNodeSize(org.apache.jackrabbit.oak.plugins.segment.SegmentSizeTest)  Time elapsed: 0.001 sec  <<< FAILURE!
      junit.framework.AssertionFailedError: expected:<112> but was:<96>
      	at junit.framework.Assert.fail(Assert.java:57)
      	at junit.framework.Assert.failNotEquals(Assert.java:329)
      	at junit.framework.Assert.assertEquals(Assert.java:78)
      	at junit.framework.Assert.assertEquals(Assert.java:234)
      	at junit.framework.Assert.assertEquals(Assert.java:241)
      	at org.apache.jackrabbit.oak.plugins.segment.SegmentSizeTest.testNodeSize(SegmentSizeTest.java:43)
      

      The test succeeds when I revert this commit: http://svn.apache.org/r1716472

        Attachments

          Activity

            People

            • Assignee:
              mduerig Michael Dürig
              Reporter:
              mreutegg Marcel Reutegger
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: