[
https://issues.apache.org/jira/browse/FLINK-26321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17498956#comment-17498956
]
Alexander Preuss commented on FLINK-26321:
------------------------------------------
I had a first look into it and there is actually not an extra record but a
missing one. The parameters for the Assertion are in the wrong order. So
really, we always miss one record of the total
> KafkaSinkITCase.testWriteRecordsToKafkaWithExactlyOnceGuarantee fails on azure
> ------------------------------------------------------------------------------
>
> Key: FLINK-26321
> URL: https://issues.apache.org/jira/browse/FLINK-26321
> Project: Flink
> Issue Type: Bug
> Components: Connectors / Kafka
> Affects Versions: 1.15.0
> Reporter: Matthias Pohl
> Assignee: Alexander Preuss
> Priority: Critical
> Labels: test-stability
>
> [This
> build|https://dev.azure.com/mapohl/flink/_build/results?buildId=769&view=logs&j=d543d572-9428-5803-a30c-e8e09bf70915&t=4e4199a3-fbbb-5d5b-a2be-802955ffb013&l=35635]
> failed due to a test failure in
> {{KafkaSinkITCase.testWriteRecordsToKafkaWithExactlyOnceGuarantee}}:
> {code}
> Feb 22 21:55:15 [ERROR] Tests run: 8, Failures: 1, Errors: 0, Skipped: 0,
> Time elapsed: 65.897 s <<< FAILURE! - in
> org.apache.flink.connector.kafka.sink.KafkaSinkITCase
> Feb 22 21:55:15 [ERROR]
> org.apache.flink.connector.kafka.sink.KafkaSinkITCase.testWriteRecordsToKafkaWithExactlyOnceGuarantee
> Time elapsed: 25.251 s <<< FAILURE!
> Feb 22 21:55:15 java.lang.AssertionError: expected:<20912> but was:<20913>
> Feb 22 21:55:15 at org.junit.Assert.fail(Assert.java:89)
> Feb 22 21:55:15 at org.junit.Assert.failNotEquals(Assert.java:835)
> Feb 22 21:55:15 at org.junit.Assert.assertEquals(Assert.java:647)
> Feb 22 21:55:15 at org.junit.Assert.assertEquals(Assert.java:633)
> Feb 22 21:55:15 at
> org.apache.flink.connector.kafka.sink.KafkaSinkITCase.writeRecordsToKafka(KafkaSinkITCase.java:424)
> Feb 22 21:55:15 at
> org.apache.flink.connector.kafka.sink.KafkaSinkITCase.testWriteRecordsToKafkaWithExactlyOnceGuarantee(KafkaSinkITCase.java:231)
> [...]
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)