Skip to content

Fix flaky pulsar test#19095

Merged
laurit merged 1 commit into
open-telemetry:mainfrom
laurit:pulsar-flaky
Jun 30, 2026
Merged

Fix flaky pulsar test#19095
laurit merged 1 commit into
open-telemetry:mainfrom
laurit:pulsar-flaky

Conversation

@laurit

@laurit laurit commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Hopefully resolves https://develocity.opentelemetry.io/s/syxyb4ho6qhws/tests/task/:instrumentation:pulsar:pulsar-2.8:javaagent:test/details/io.opentelemetry.javaagent.instrumentation.pulsar.v2_8.PulsarClientTest/testReceiveMultiTopics()?expanded-stacktrace=WyIwIl0&top-execution=1
I think that messaging.message.id is missing because the span is for a batch receive that doesn't record the message id. The test call itself calls the regular receive method, the batch receive is performed in a background thread.

Copilot AI review requested due to automatic review settings June 29, 2026 13:58
@laurit laurit requested a review from a team as a code owner June 29, 2026 13:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@laurit

laurit commented Jun 30, 2026

Copy link
Copy Markdown
Contributor Author

@trask I'll merge this to see whether it improves the test stability. If you don't like it we can revert it later.

@laurit laurit merged commit 93ef450 into open-telemetry:main Jun 30, 2026
95 checks passed
@laurit laurit deleted the pulsar-flaky branch June 30, 2026 06:24
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.

3 participants