-
Notifications
You must be signed in to change notification settings - Fork 293
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do strict JSON comparison when running CI Vis instrumentation tests l…
…ocally (#8327)
- Loading branch information
1 parent
38b8211
commit 5d18c24
Showing
37 changed files
with
795 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
...entation/junit-5.3/cucumber-junit-5/src/test/resources/test-no-retry-failed/coverages.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[ { | ||
"files" : [ { | ||
"filename" : "org/example/cucumber/calculator/basic_arithmetic_failed.feature" | ||
} ], | ||
"span_id" : ${content_span_id}, | ||
"test_session_id" : ${content_test_session_id}, | ||
"test_suite_id" : ${content_test_suite_id} | ||
} ] |
145 changes: 145 additions & 0 deletions
145
...rumentation/junit-5.3/cucumber-junit-5/src/test/resources/test-no-retry-failed/events.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
[ { | ||
"content" : { | ||
"duration" : ${content_duration}, | ||
"error" : 0, | ||
"meta" : { | ||
"_dd.p.tid" : ${content_meta__dd_p_tid}, | ||
"component" : "junit", | ||
"dummy_ci_tag" : "dummy_ci_tag_value", | ||
"env" : "none", | ||
"library_version" : ${content_meta_library_version}, | ||
"span.kind" : "test_suite_end", | ||
"test.framework" : "cucumber", | ||
"test.framework_version" : ${content_meta_test_framework_version}, | ||
"test.module" : "cucumber-junit-5", | ||
"test.status" : "fail", | ||
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_failed.feature:Basic Arithmetic", | ||
"test.type" : "test", | ||
"test_session.name" : "session-name" | ||
}, | ||
"metrics" : { | ||
"_dd.host.vcpu_count" : ${content_metrics__dd_host_vcpu_count} | ||
}, | ||
"name" : "junit.test_suite", | ||
"resource" : "classpath:org/example/cucumber/calculator/basic_arithmetic_failed.feature:Basic Arithmetic", | ||
"service" : "worker.org.gradle.process.internal.worker.gradleworkermain", | ||
"start" : ${content_start}, | ||
"test_module_id" : ${content_test_module_id}, | ||
"test_session_id" : ${content_test_session_id}, | ||
"test_suite_id" : ${content_test_suite_id} | ||
}, | ||
"type" : "test_suite_end", | ||
"version" : 1 | ||
}, { | ||
"content" : { | ||
"duration" : ${content_duration_2}, | ||
"error" : 1, | ||
"meta" : { | ||
"_dd.profiling.ctx" : "test", | ||
"_dd.tracer_host" : ${content_meta__dd_tracer_host}, | ||
"component" : "junit", | ||
"dummy_ci_tag" : "dummy_ci_tag_value", | ||
"env" : "none", | ||
"error.message" : ${content_meta_error_message}, | ||
"error.stack" : ${content_meta_error_stack}, | ||
"error.type" : "java.lang.AssertionError", | ||
"language" : "jvm", | ||
"library_version" : ${content_meta_library_version}, | ||
"runtime-id" : ${content_meta_runtime_id}, | ||
"span.kind" : "test", | ||
"test.framework" : "cucumber", | ||
"test.framework_version" : ${content_meta_test_framework_version}, | ||
"test.module" : "cucumber-junit-5", | ||
"test.name" : "Addition", | ||
"test.status" : "fail", | ||
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_failed.feature:Basic Arithmetic", | ||
"test.traits" : "{\"category\":[\"foo\"]}", | ||
"test.type" : "test", | ||
"test_session.name" : "session-name" | ||
}, | ||
"metrics" : { | ||
"_dd.host.vcpu_count" : ${content_metrics__dd_host_vcpu_count_2}, | ||
"_dd.profiling.enabled" : 0, | ||
"_dd.trace_span_attribute_schema" : 0, | ||
"process_id" : ${content_metrics_process_id} | ||
}, | ||
"name" : "junit.test", | ||
"parent_id" : ${content_parent_id}, | ||
"resource" : "classpath:org/example/cucumber/calculator/basic_arithmetic_failed.feature:Basic Arithmetic.Addition", | ||
"service" : "worker.org.gradle.process.internal.worker.gradleworkermain", | ||
"span_id" : ${content_span_id}, | ||
"start" : ${content_start_2}, | ||
"test_module_id" : ${content_test_module_id}, | ||
"test_session_id" : ${content_test_session_id}, | ||
"test_suite_id" : ${content_test_suite_id}, | ||
"trace_id" : ${content_trace_id} | ||
}, | ||
"type" : "test", | ||
"version" : 2 | ||
}, { | ||
"content" : { | ||
"duration" : ${content_duration_3}, | ||
"error" : 0, | ||
"meta" : { | ||
"_dd.p.tid" : ${content_meta__dd_p_tid_2}, | ||
"_dd.profiling.ctx" : "test", | ||
"_dd.tracer_host" : ${content_meta__dd_tracer_host}, | ||
"component" : "junit", | ||
"dummy_ci_tag" : "dummy_ci_tag_value", | ||
"env" : "none", | ||
"language" : "jvm", | ||
"library_version" : ${content_meta_library_version}, | ||
"runtime-id" : ${content_meta_runtime_id}, | ||
"span.kind" : "test_session_end", | ||
"test.command" : "cucumber-junit-5", | ||
"test.framework" : "cucumber", | ||
"test.framework_version" : ${content_meta_test_framework_version}, | ||
"test.status" : "fail", | ||
"test.type" : "test", | ||
"test_session.name" : "session-name" | ||
}, | ||
"metrics" : { | ||
"_dd.host.vcpu_count" : ${content_metrics__dd_host_vcpu_count_3}, | ||
"_dd.profiling.enabled" : 0, | ||
"_dd.trace_span_attribute_schema" : 0, | ||
"process_id" : ${content_metrics_process_id} | ||
}, | ||
"name" : "junit.test_session", | ||
"resource" : "cucumber-junit-5", | ||
"service" : "worker.org.gradle.process.internal.worker.gradleworkermain", | ||
"start" : ${content_start_3}, | ||
"test_session_id" : ${content_test_session_id} | ||
}, | ||
"type" : "test_session_end", | ||
"version" : 1 | ||
}, { | ||
"content" : { | ||
"duration" : ${content_duration_4}, | ||
"error" : 0, | ||
"meta" : { | ||
"_dd.p.tid" : ${content_meta__dd_p_tid_3}, | ||
"component" : "junit", | ||
"dummy_ci_tag" : "dummy_ci_tag_value", | ||
"env" : "none", | ||
"library_version" : ${content_meta_library_version}, | ||
"span.kind" : "test_module_end", | ||
"test.framework" : "cucumber", | ||
"test.framework_version" : ${content_meta_test_framework_version}, | ||
"test.module" : "cucumber-junit-5", | ||
"test.status" : "fail", | ||
"test.type" : "test", | ||
"test_session.name" : "session-name" | ||
}, | ||
"metrics" : { | ||
"_dd.host.vcpu_count" : ${content_metrics__dd_host_vcpu_count_4} | ||
}, | ||
"name" : "junit.test_module", | ||
"resource" : "cucumber-junit-5", | ||
"service" : "worker.org.gradle.process.internal.worker.gradleworkermain", | ||
"start" : ${content_start_4}, | ||
"test_module_id" : ${content_test_module_id}, | ||
"test_session_id" : ${content_test_session_id} | ||
}, | ||
"type" : "test_module_end", | ||
"version" : 1 | ||
} ] |
1 change: 1 addition & 0 deletions
1
...ava-agent/instrumentation/selenium/src/test/resources/test-succeed-multiple/coverages.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[ ] |
Oops, something went wrong.