Kevin Earls created CAMEL-9133:
----------------------------------

             Summary: FileChangedReadLockMinAgeTes fails intermittently
                 Key: CAMEL-9133
                 URL: https://issues.apache.org/jira/browse/CAMEL-9133
             Project: Camel
          Issue Type: Bug
          Components: tests
            Reporter: Kevin Earls
            Priority: Minor


The FileChangedReadLockMinAgeTest fails intermettently, maybe once every 5 
times for me, with the error below:

-------------------------------------------------------
 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)


Results :

Failed tests: 
  
FileChangedReadLockMinAgeTest>TestSupport.runBare:58->testChangedReadLockMinAge:53->ContextTestSupport.assertMockEndpointsSatisfied:343
 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]

Tests run: 1, Failures: 1, Errors: 0, Skipped: 0




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to