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

UploadStagingCacheTest#testConcurrentSameAddRequest fails intermittently

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.10.0, 1.9.7
    • blob-plugins
    • None

    Description

      As noted on VOTE mail thread for 1.9.6 [0], UploadStagingCacheTest#testConcurrentSameAddRequest fails intermittently as:

      [INFO] Running org.apache.jackrabbit.oak.plugins.blob.UploadStagingCacheTest
      [ERROR] Tests run: 22, Failures: 1, Errors: 0, Skipped: 0, Time
      elapsed: 15.595 s <<< FAILURE! - in
      org.apache.jackrabbit.oak.plugins.blob.UploadStagingCacheTest
      [ERROR] testConcurrentSameAddRequest(org.apache.jackrabbit.oak.plugins.blob.UploadStagingCacheTest)
       Time elapsed: 0.214 s  <<< FAILURE!
      java.lang.AssertionError: expected:<2> but was:<1>
              at org.apache.jackrabbit.oak.plugins.blob.UploadStagingCacheTest.assertCacheStats(UploadStagingCacheTest.java:843)
              at org.apache.jackrabbit.oak.plugins.blob.UploadStagingCacheTest.testConcurrentSameAddRequest(UploadStagingCacheTest.java:456)
      
      [INFO]
      [INFO] Results:
      [INFO]
      [ERROR] Failures:
      [ERROR]   UploadStagingCacheTest.testConcurrentSameAddRequest:456->assertCacheStats:843
      expected:<2> but was:<1>
      [INFO]
      [ERROR] Tests run: 179, Failures: 1, Errors: 0, Skipped: 0
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO]
      [INFO] Oak Parent POM ..................................... SUCCESS
      [01:22 min]
      ....
      ....
      [INFO] Oak Blob Plugins ................................... FAILURE [
      38.111 s]
      [INFO] Oak Core ........................................... SKIPPED
      ....
      ....
      [INFO] Jackrabbit Oak ..................................... SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      

      amjain, should I assign it to you?

      [0]: https://lists.apache.org/thread.html/42e50349cd7e559f0b579093e56e421e6127a2fdec563debc393fcdd@%3Coak-dev.jackrabbit.apache.org%3E

      Attachments

        Issue Links

          Activity

            People

              amitjain Amit Jain
              catholicon Vikas Saurabh
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: