Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-1625

SpringDeadLetterChannelUseOriginalBodyWithFileTest test failing on trunk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0-M2
    • None
    • None
    • Unit Test Broken

    Description

      -------------------------------------------------------------------------------
      Test set: org.apache.camel.spring.processor.SpringDeadLetterChannelUseOriginalBodyWithFileTest
      -------------------------------------------------------------------------------
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.379 sec <<< FAILURE!
      testOriginalInBodyIsFile(org.apache.camel.spring.processor.SpringDeadLetterChannelUseOriginalBodyWithFileTest) Time elapsed: 4.106 sec <<< ERROR!
      java.lang.AssertionError: mock:dead bodyAs[java.lang.String] == Hello on Exchange[GenericFileMessage: GenericFile[hello.txt]]
      at org.apache.camel.util.PredicateAssertHelper.assertMatches(PredicateAssertHelper.java:38)
      at org.apache.camel.component.mock.AssertionClause.applyAssertionOn(AssertionClause.java:115)
      at org.apache.camel.component.mock.MockEndpoint$14.run(MockEndpoint.java:639)
      at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:251)
      at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:218)
      at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:151)
      at org.apache.camel.ContextTestSupport.assertMockEndpointsSatisfied(ContextTestSupport.java:286)
      at org.apache.camel.processor.DeadLetterChannelUseOriginalInBodyWithFileTest.testOriginalInBodyIsFile(DeadLetterChannelUseOriginalInBodyWithFileTest.java:39)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at junit.framework.TestCase.runTest(TestCase.java:164)
      at junit.framework.TestCase.runBare(TestCase.java:130)
      at junit.framework.TestResult$1.protect(TestResult.java:106)
      at junit.framework.TestResult.runProtected(TestResult.java:124)
      at junit.framework.TestResult.run(TestResult.java:109)
      at junit.framework.TestCase.run(TestCase.java:120)
      at junit.framework.TestSuite.runTest(TestSuite.java:230)
      at junit.framework.TestSuite.run(TestSuite.java:225)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:165)
      at org.apache.maven.surefire.Surefire.run(Surefire.java:107)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:289)
      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:993)

      When trying to build latest svn trunk ( 776125 ) with 'mvn clean install'

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            ryangardner Ryan Gardner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: