Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-3993

FileChangedReadLockMinAgeTest fails intermittently

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • jboss-fuse-6.3
    • jboss-fuse-6.2.1
    • Camel
    • None
    • % %
    • 6.3 Sprint 2 (1-Feb - 26-Feb)

      The FileChangedReadLockMinAgeTest fails intermittently with the error below. I have logged upstream bug https://issues.apache.org/jira/browse/CAMEL-9133 to track this.

      -------------------------------------------------------
      T E S T S
      -------------------------------------------------------
      Running org.apache.camel.component.file.strategy.FileChangedReadLockMinAgeTest
      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.954 sec <<< FAILURE! - in org.apache.camel.component.file.strategy.FileChangedReadLockMinAgeTest
      testChangedReadLockMinAge(org.apache.camel.component.file.strategy.FileChangedReadLockMinAgeTest) Time elapsed: 4.867 sec <<< FAILURE!
      java.lang.AssertionError: Assertion error at index 0 on mock mock://result with predicate: exchangeProperty

      {exchangeProperty(CamelReceivedTimestamp)}

      > 1442223116043 evaluated as: 1442223115077 > 1442223116043 on Exchange[ID-planet-express-42451-1442223110794-0-2][slowfile.dat]
      at org.apache.camel.util.PredicateAssertHelper.assertMatches(PredicateAssertHelper.java:43)
      at org.apache.camel.component.mock.AssertionClause.applyAssertionOn(AssertionClause.java:106)
      at org.apache.camel.component.mock.MockEndpoint$6.run(MockEndpoint.java:702)
      at org.apache.camel.component.mock.MockEndpoint.doAssertIsSatisfied(MockEndpoint.java:414)
      at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:382)
      at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:370)
      at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:208)
      at org.apache.camel.ContextTestSupport.assertMockEndpointsSatisfied(ContextTestSupport.java:343)
      at org.apache.camel.component.file.strategy.FileChangedReadLockMinAgeTest.testChangedReadLockMinAge(FileChangedReadLockMinAgeTest.java:53)

            acosenti Andrea Cosentino
            kearls@redhat.com Kevin Earls (Inactive)
            Jan Bouska Jan Bouska
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: