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

Snippet Injection Smoke Test #8655

Merged
merged 9 commits into from
Jun 7, 2023

Conversation

siyuniu-ms
Copy link
Contributor

@siyuniu-ms siyuniu-ms commented Jun 6, 2023

Smoke Test aiming at testing snippet injection which is developed in #7650 and #8569

The reason for adding the java arguments of setting snippet in the environment list instead of via environment setting in the single test is because that would not work.

Additionally explored the possibility of modifying the Dockerfile to allow different servers to accept JVM arguments. However, I encountered challenges with certain Dockerfiles that require modifications involving the addition of a jvm.options file, making it difficult to implement this change universally.

Considering that adding another jvm args would not impact other tests functionality, the snippet setting is added in the container env directly.

@siyuniu-ms siyuniu-ms requested a review from a team as a code owner June 6, 2023 00:19
…/io/opentelemetry/javaagent/bootstrap/servlet/ExperimentalSnippetHolder.java

Co-authored-by: Mateusz Rzeszutek <[email protected]>
@trask trask merged commit 012657e into open-telemetry:main Jun 7, 2023
45 checks passed
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