Skip to content

Migrate reactor testing to Java#5679

Merged
anuraaga merged 1 commit into
open-telemetry:mainfrom
anuraaga:reactor-testing-java
Mar 25, 2022
Merged

Migrate reactor testing to Java#5679
anuraaga merged 1 commit into
open-telemetry:mainfrom
anuraaga:reactor-testing-java

Conversation

@anuraaga

Copy link
Copy Markdown
Contributor

No description provided.

@anuraaga anuraaga requested a review from a team March 24, 2022 07:44
def runWithSpan(def publisherSupplier) {
runWithSpan("trace-parent") {
def tracer = GlobalOpenTelemetry.getTracer("test")
def span = tracer.spanBuilder("publisher-parent").startSpan()

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I didn't include the publisher-parent span in the migrated tests since I couldn't reason out any special tested behavior by it, it's just a test-only span. But can add it back if it seems important

@anuraaga anuraaga merged commit 5ec0937 into open-telemetry:main Mar 25, 2022
RashmiRam pushed a commit to RashmiRam/opentelemetry-auto-instr-java that referenced this pull request May 23, 2022
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.

2 participants