Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flaky spring kafka batch test #5740

Merged
merged 2 commits into from
Apr 4, 2022
Merged

Conversation

laurit
Copy link
Contributor

@laurit laurit commented Apr 2, 2022

https://ge.opentelemetry.io/scans/tests?search.buildOutcome=success&search.relativeStartTime=P7D&search.tags=CI&search.timeZoneId=Europe/Tallinn&tests.container=SpringKafkaInstrumentationTest&tests.sortField=FLAKY&tests.test=should%20create%20spans%20for%20batch%20receive%2Bprocess&tests.unstableOnly=true
kafkaTemplate.executeInTransaction doesn't seem to guarantee that messages will be sent as one batch. To reproduce the failure insert a Thread.sleep between sending the messages. I couldn't come up with anything else besides retrying like in #4922

@laurit laurit requested a review from a team as a code owner April 2, 2022 11:40
…ovy/SpringKafkaInstrumentationTest.groovy

Co-authored-by: Mateusz Rzeszutek <[email protected]>
@trask trask merged commit 2b7fe69 into open-telemetry:main Apr 4, 2022
RashmiRam pushed a commit to RashmiRam/opentelemetry-auto-instr-java that referenced this pull request May 23, 2022
* Flaky spring kafka batch test

* Update instrumentation/spring/spring-kafka-2.7/javaagent/src/test/groovy/SpringKafkaInstrumentationTest.groovy

Co-authored-by: Mateusz Rzeszutek <[email protected]>

Co-authored-by: Mateusz Rzeszutek <[email protected]>
@laurit laurit deleted the spring-kafka-batch branch July 6, 2023 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants