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

camel-mock - ConcurrentModificationException when asserting mock endpoints

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.11.0
    • camel-core
    • None
    • Unknown

    Description

      [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.08 s <<< FAILURE! - in org.apache.camel.spring.processor.SpringWireTapExpressionTest
      [ERROR] org.apache.camel.spring.processor.SpringWireTapExpressionTest.testWireTapExpression Time elapsed: 1.077 s <<< ERROR!
      java.util.ConcurrentModificationException
      at java.base/java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:719)
      at java.base/java.util.LinkedHashMap$LinkedEntryIterator.next(LinkedHashMap.java:751)
      at java.base/java.util.LinkedHashMap$LinkedEntryIterator.next(LinkedHashMap.java:749)
      at org.apache.camel.impl.engine.CompoundIterator.next(CompoundIterator.java:55)
      at java.base/java.util.AbstractMap$2$1.next(AbstractMap.java:418)
      at java.base/java.util.AbstractCollection.toArray(AbstractCollection.java:144)
      at java.base/java.util.ArrayList.<init>(ArrayList.java:179)
      at org.apache.camel.impl.engine.AbstractCamelContext.getEndpoints(AbstractCamelContext.java:737)
      at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:203)
      at org.apache.camel.ContextTestSupport.assertMockEndpointsSatisfied(ContextTestSupport.java:367)
      at org.apache.camel.processor.WireTapExpressionTest.testWireTapExpression(WireTapExpressionTest.java:36)

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: