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

Camel ConsumerWSAEndpointMappingRouteTest fails with JDK8

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.14.0
    • camel-spring-ws
    • None
    • jdk8

    • Unknown

    Description

      This test fails with the error shown below. It looks like the expected message is getting routed to the mock:testActionMoreSpecificSkipped endpoint rather than mock:testActionMoreSpecific endpoint.

      Running org.apache.camel.component.spring.ws.addressing.ConsumerWSAEndpointMappingRouteTest
      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 12.543 sec <<< FAILURE! - in org.apache.camel.component.spring.ws.addressing.ConsumerWSAEndpointMappingRouteTest
      testWSAddressingResolveActionMoreSpecif(org.apache.camel.component.spring.ws.addressing.ConsumerWSAEndpointMappingRouteTest) Time elapsed: 12.407 sec <<< FAILURE!
      java.lang.AssertionError: mock://testActionMoreSpecific Received message count 0, expected at least 1
      at org.apache.camel.component.mock.MockEndpoint.fail(MockEndpoint.java:1333)
      at org.apache.camel.component.mock.MockEndpoint.assertTrue(MockEndpoint.java:1321)
      at org.apache.camel.component.mock.MockEndpoint.doAssertIsSatisfied(MockEndpoint.java:390)
      at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:362)
      at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:350)
      at org.apache.camel.component.spring.ws.addressing.ConsumerWSAEndpointMappingRouteTest.testWSAddressingResolveActionMoreSpecif(ConsumerWSAEndpointMappingRouteTest.java:142)

      Results :

      Failed tests:
      ConsumerWSAEndpointMappingRouteTest.testWSAddressingResolveActionMoreSpecif:142 mock://testActionMoreSpecific Received message count 0, expected at least 1

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

      Attachments

        Activity

          People

            njiang Willem Jiang
            kearls Kevin Anthony Earls
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: