-
Notifications
You must be signed in to change notification settings - Fork 14
Add sevice+env case-insensitivity test to TestDynamicConfigV1 #2144
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
Conversation
91612e1 to
6a59ede
Compare
6c19161 to
2bf181b
Compare
Kyle-Verhoog
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a couple nits, but otherwise lgtm
| assert cfg_state["apply_state"] == 3 | ||
| assert cfg_state["apply_error"] != "" | ||
|
|
||
| @missing_feature(context.library in ["golang"], reason="Not implemented yet") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| @missing_feature(context.library in ["golang"], reason="Not implemented yet") |
I think we can rely on the manifest for skipping golang
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really! Go tracer does a case-sensitive check, so I added this annotation to exclude Go Tracer from this test case only and not from the entire test class.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh I see! Yep that makes sense then. Maybe we should update the reason to include that context?
008c45c to
fa492e4
Compare
…e-insensitivity test Split TestDynamicConfigV1 and TestDynamicConfigIgnoreMismatchingTargets Update tests/parametric/test_dynamic_configuration.py
fa492e4 to
4d9a5c9
Compare
Motivation
The backend normalizes service and env values, so we need a test case that verifies such a scenario to make sure that a Tracer is case-insensitive of env or service name values.
Changes
Add sevice+env case-insensitivity test.
Extract service+env test to TestDynamicConfigV1_ServiceTargets.
Enable TestDynamicConfigV1_ServiceTargets for the Java Tracer v1.30+.
Workflow
codeownersfile quickly.🚀 Once your PR is reviewed, you can merge it!
🛟 #apm-shared-testing 🛟
Reviewer checklist
run-parametric-scenario,run-profiling-scenario...) are presentsbuild-XXX-imagelabel is present