Skip to content

Convert JMS Groovy tests to Java#9476

Merged
mateuszrzeszutek merged 1 commit into
open-telemetry:mainfrom
LMarkie:jms-java-tests
Sep 18, 2023
Merged

Convert JMS Groovy tests to Java#9476
mateuszrzeszutek merged 1 commit into
open-telemetry:mainfrom
LMarkie:jms-java-tests

Conversation

@LMarkie

@LMarkie LMarkie commented Sep 15, 2023

Copy link
Copy Markdown
Contributor

Relates to #7195

Using Jms3InstrumentationTest.java as the basis.

  • failing to receive message tests collapsed into one function via EmptyReceiveArgumentsProvider
  • sending a message to #destinationName with explicit destination propagates context is tested in testMessageListener
  • In Jms1's shouldFailWhenSendingReadOnlyMessage test, the consumer.receive method is ran without a span to emphasise the inability to propagate trace context in this scenario.

@LMarkie LMarkie requested a review from a team September 15, 2023 17:06
@linux-foundation-easycla

linux-foundation-easycla Bot commented Sep 15, 2023

Copy link
Copy Markdown

CLA Signed

The committers listed above are authorized under a signed CLA.

@mateuszrzeszutek mateuszrzeszutek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is looking great, thanks!

@mateuszrzeszutek mateuszrzeszutek merged commit 331aa04 into open-telemetry:main Sep 18, 2023
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