[ 
https://issues.apache.org/jira/browse/CAMEL-21346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-21346.
---------------------------------
    Fix Version/s: 4.10.0
                       (was: 4.x)
       Resolution: Fixed

this seems to be fixed in jackson 2.18.2

> Test failing on main branch: 
> StreamingApiConsumerTest.shouldProcessPlatformEvents
> ---------------------------------------------------------------------------------
>
>                 Key: CAMEL-21346
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21346
>             Project: Camel
>          Issue Type: Test
>          Components: camel-salesforce
>    Affects Versions: 4.9.0
>            Reporter: Aurélien Pupier
>            Priority: Minor
>             Fix For: 4.10.0
>
>         Attachments: image-2024-10-14-14-54-23-380.png
>
>
> since build 460
>  !image-2024-10-14-14-54-23-380.png! 
> {noformat}
> Argument(s) are different! Wanted:
> in.setBody(
>     PlatformEvent: createdById: 00541000002WYFpAAO, createdId: 
> 2018-07-06T12:41:04Z, data: {Test_Field__c=abc}
> );
> -> at 
> org.apache.camel.component.salesforce.StreamingApiConsumerTest.shouldProcessPlatformEvents(StreamingApiConsumerTest.java:204)
> Actual invocations have different arguments:
> in.setHeader(
>     "CamelSalesforceChannel",
>     "/event/TestEvent__e"
> );
> -> at 
> org.apache.camel.component.salesforce.StreamingApiConsumer.setHeaders(StreamingApiConsumer.java:260)
> in.setHeader(
>     "CamelSalesforceReplayId",
>     4L
> );
> -> at 
> org.apache.camel.component.salesforce.StreamingApiConsumer.createPlatformEventMessage(StreamingApiConsumer.java:195)
> in.setHeader(
>     "CamelSalesforcePlatformEventSchema",
>     "30H2pgzuWcF844p26Ityvg"
> );
> -> at 
> org.apache.camel.component.salesforce.StreamingApiConsumer.createPlatformEventMessage(StreamingApiConsumer.java:198)
> in.setHeader(
>     "CamelSalesforceEventType",
>     "TestEvent__e"
> );
> -> at 
> org.apache.camel.component.salesforce.StreamingApiConsumer.createPlatformEventMessage(StreamingApiConsumer.java:199)
> in.setHeader(
>     "CamelSalesforceCreatedDate",
>     2018-07-06T12:41:04Z
> );
> -> at 
> org.apache.camel.component.salesforce.StreamingApiConsumer.createPlatformEventMessage(StreamingApiConsumer.java:204)
> in.setBody(
>     PlatformEvent: createdById: 00541000002WYFpAAO, createdId: 
> 2018-07-06T12:41:04Z, data: {}
> );
> -> at 
> org.apache.camel.component.salesforce.StreamingApiConsumer.createPlatformEventMessage(StreamingApiConsumer.java:211)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to