Add display name as parameter in JUnit5 dynamic tests#10649
Open
daniel-mohedano wants to merge 3 commits intomasterfrom
Open
Add display name as parameter in JUnit5 dynamic tests#10649daniel-mohedano wants to merge 3 commits intomasterfrom
daniel-mohedano wants to merge 3 commits intomasterfrom
Conversation
Test Environment - sbt-scalatestJob Status: success
|
Test Environment - netflix-zuulJob Status: success
|
Test Environment - nebula-release-pluginJob Status: success
|
Test Environment - reactive-streams-jvmJob Status: success
|
Test Environment - pass4sJob Status: success
|
Test Environment - sonar-kotlinJob Status: success
|
Test Environment - jolokiaJob Status: success
|
Test Environment - okhttpJob Status: success
|
Test Environment - spring_bootJob Status: success
|
Test Environment - sonar-javaJob Status: success
|
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 59 metrics, 12 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.60.0-SNAPSHOT~1e40a01be0, baseline=1.60.0-SNAPSHOT~af8b84438c
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.065 s) : 0, 1065294
Total [baseline] (11.023 s) : 0, 11023359
Agent [candidate] (1.064 s) : 0, 1063583
Total [candidate] (10.808 s) : 0, 10808464
section appsec
Agent [baseline] (1.246 s) : 0, 1245938
Total [baseline] (11.184 s) : 0, 11184136
Agent [candidate] (1.24 s) : 0, 1240438
Total [candidate] (10.946 s) : 0, 10946186
section iast
Agent [baseline] (1.231 s) : 0, 1231073
Total [baseline] (11.124 s) : 0, 11123502
Agent [candidate] (1.233 s) : 0, 1232787
Total [candidate] (11.242 s) : 0, 11241652
section profiling
Agent [baseline] (1.193 s) : 0, 1193233
Total [baseline] (10.961 s) : 0, 10960738
Agent [candidate] (1.208 s) : 0, 1208334
Total [candidate] (10.997 s) : 0, 10997023
gantt
title petclinic - break down per module: candidate=1.60.0-SNAPSHOT~1e40a01be0, baseline=1.60.0-SNAPSHOT~af8b84438c
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.194 ms) : 0, 1194
crashtracking [candidate] (1.197 ms) : 0, 1197
BytebuddyAgent [baseline] (627.834 ms) : 0, 627834
BytebuddyAgent [candidate] (626.328 ms) : 0, 626328
AgentMeter [baseline] (29.073 ms) : 0, 29073
AgentMeter [candidate] (29.034 ms) : 0, 29034
GlobalTracer [baseline] (257.778 ms) : 0, 257778
GlobalTracer [candidate] (257.017 ms) : 0, 257017
AppSec [baseline] (32.885 ms) : 0, 32885
AppSec [candidate] (33.0 ms) : 0, 33000
Debugger [baseline] (63.781 ms) : 0, 63781
Debugger [candidate] (63.536 ms) : 0, 63536
Remote Config [baseline] (631.121 µs) : 0, 631
Remote Config [candidate] (632.723 µs) : 0, 633
Telemetry [baseline] (10.684 ms) : 0, 10684
Telemetry [candidate] (9.892 ms) : 0, 9892
Flare Poller [baseline] (5.327 ms) : 0, 5327
Flare Poller [candidate] (6.857 ms) : 0, 6857
section appsec
crashtracking [baseline] (1.476 ms) : 0, 1476
crashtracking [candidate] (1.205 ms) : 0, 1205
BytebuddyAgent [baseline] (661.927 ms) : 0, 661927
BytebuddyAgent [candidate] (658.513 ms) : 0, 658513
AgentMeter [baseline] (12.045 ms) : 0, 12045
AgentMeter [candidate] (12.025 ms) : 0, 12025
GlobalTracer [baseline] (259.684 ms) : 0, 259684
GlobalTracer [candidate] (258.616 ms) : 0, 258616
AppSec [baseline] (169.684 ms) : 0, 169684
AppSec [candidate] (168.212 ms) : 0, 168212
Debugger [baseline] (65.536 ms) : 0, 65536
Debugger [candidate] (66.605 ms) : 0, 66605
Remote Config [baseline] (665.534 µs) : 0, 666
Remote Config [candidate] (646.339 µs) : 0, 646
Telemetry [baseline] (9.31 ms) : 0, 9310
Telemetry [candidate] (9.487 ms) : 0, 9487
Flare Poller [baseline] (3.692 ms) : 0, 3692
Flare Poller [candidate] (3.678 ms) : 0, 3678
IAST [baseline] (25.74 ms) : 0, 25740
IAST [candidate] (25.321 ms) : 0, 25321
section iast
crashtracking [baseline] (1.2 ms) : 0, 1200
crashtracking [candidate] (1.192 ms) : 0, 1192
BytebuddyAgent [baseline] (795.577 ms) : 0, 795577
BytebuddyAgent [candidate] (795.979 ms) : 0, 795979
AgentMeter [baseline] (11.3 ms) : 0, 11300
AgentMeter [candidate] (11.318 ms) : 0, 11318
GlobalTracer [baseline] (246.868 ms) : 0, 246868
GlobalTracer [candidate] (247.872 ms) : 0, 247872
AppSec [baseline] (33.15 ms) : 0, 33150
AppSec [candidate] (34.98 ms) : 0, 34980
Debugger [baseline] (67.338 ms) : 0, 67338
Debugger [candidate] (65.672 ms) : 0, 65672
Remote Config [baseline] (542.422 µs) : 0, 542
Remote Config [candidate] (569.546 µs) : 0, 570
Telemetry [baseline] (8.619 ms) : 0, 8619
Telemetry [candidate] (8.742 ms) : 0, 8742
Flare Poller [baseline] (3.46 ms) : 0, 3460
Flare Poller [candidate] (3.469 ms) : 0, 3469
IAST [baseline] (26.905 ms) : 0, 26905
IAST [candidate] (26.879 ms) : 0, 26879
section profiling
ProfilingAgent [baseline] (99.93 ms) : 0, 99930
ProfilingAgent [candidate] (99.376 ms) : 0, 99376
crashtracking [baseline] (1.185 ms) : 0, 1185
crashtracking [candidate] (1.206 ms) : 0, 1206
BytebuddyAgent [baseline] (682.793 ms) : 0, 682793
BytebuddyAgent [candidate] (692.242 ms) : 0, 692242
AgentMeter [baseline] (8.585 ms) : 0, 8585
AgentMeter [candidate] (8.758 ms) : 0, 8758
GlobalTracer [baseline] (216.346 ms) : 0, 216346
GlobalTracer [candidate] (219.741 ms) : 0, 219741
AppSec [baseline] (32.74 ms) : 0, 32740
AppSec [candidate] (33.614 ms) : 0, 33614
Debugger [baseline] (67.456 ms) : 0, 67456
Debugger [candidate] (68.456 ms) : 0, 68456
Remote Config [baseline] (631.839 µs) : 0, 632
Remote Config [candidate] (637.973 µs) : 0, 638
Telemetry [baseline] (8.954 ms) : 0, 8954
Telemetry [candidate] (8.885 ms) : 0, 8885
Flare Poller [baseline] (3.79 ms) : 0, 3790
Flare Poller [candidate] (3.842 ms) : 0, 3842
Profiling [baseline] (100.508 ms) : 0, 100508
Profiling [candidate] (99.967 ms) : 0, 99967
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.60.0-SNAPSHOT~1e40a01be0, baseline=1.60.0-SNAPSHOT~af8b84438c
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.061 s) : 0, 1060648
Total [baseline] (8.744 s) : 0, 8744397
Agent [candidate] (1.071 s) : 0, 1071124
Total [candidate] (8.745 s) : 0, 8744726
section iast
Agent [baseline] (1.236 s) : 0, 1236097
Total [baseline] (9.491 s) : 0, 9491381
Agent [candidate] (1.229 s) : 0, 1228908
Total [candidate] (9.335 s) : 0, 9334966
gantt
title insecure-bank - break down per module: candidate=1.60.0-SNAPSHOT~1e40a01be0, baseline=1.60.0-SNAPSHOT~af8b84438c
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.193 ms) : 0, 1193
crashtracking [candidate] (1.214 ms) : 0, 1214
BytebuddyAgent [baseline] (625.338 ms) : 0, 625338
BytebuddyAgent [candidate] (631.875 ms) : 0, 631875
AgentMeter [baseline] (29.059 ms) : 0, 29059
AgentMeter [candidate] (29.24 ms) : 0, 29240
GlobalTracer [baseline] (257.377 ms) : 0, 257377
GlobalTracer [candidate] (259.061 ms) : 0, 259061
AppSec [baseline] (32.968 ms) : 0, 32968
AppSec [candidate] (33.146 ms) : 0, 33146
Debugger [baseline] (61.242 ms) : 0, 61242
Debugger [candidate] (63.049 ms) : 0, 63049
Remote Config [baseline] (624.209 µs) : 0, 624
Remote Config [candidate] (617.649 µs) : 0, 618
Telemetry [baseline] (10.589 ms) : 0, 10589
Telemetry [candidate] (10.639 ms) : 0, 10639
Flare Poller [baseline] (6.061 ms) : 0, 6061
Flare Poller [candidate] (6.008 ms) : 0, 6008
section iast
crashtracking [baseline] (1.206 ms) : 0, 1206
crashtracking [candidate] (1.206 ms) : 0, 1206
BytebuddyAgent [baseline] (798.215 ms) : 0, 798215
BytebuddyAgent [candidate] (794.345 ms) : 0, 794345
AgentMeter [baseline] (11.391 ms) : 0, 11391
AgentMeter [candidate] (11.309 ms) : 0, 11309
GlobalTracer [baseline] (248.833 ms) : 0, 248833
GlobalTracer [candidate] (247.338 ms) : 0, 247338
IAST [baseline] (27.113 ms) : 0, 27113
IAST [candidate] (26.928 ms) : 0, 26928
AppSec [baseline] (30.754 ms) : 0, 30754
AppSec [candidate] (32.236 ms) : 0, 32236
Debugger [baseline] (69.646 ms) : 0, 69646
Debugger [candidate] (66.842 ms) : 0, 66842
Remote Config [baseline] (565.726 µs) : 0, 566
Remote Config [candidate] (540.169 µs) : 0, 540
Telemetry [baseline] (8.774 ms) : 0, 8774
Telemetry [candidate] (8.617 ms) : 0, 8617
Flare Poller [baseline] (3.5 ms) : 0, 3500
Flare Poller [candidate] (3.457 ms) : 0, 3457
LoadParameters
See matching parameters
SummaryFound 3 performance improvements and 1 performance regressions! Performance is the same for 16 metrics, 16 unstable metrics.
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.60.0-SNAPSHOT~1e40a01be0, baseline=1.60.0-SNAPSHOT~af8b84438c
dateFormat X
axisFormat %s
section baseline
no_agent (18.041 ms) : 17856, 18226
. : milestone, 18041,
appsec (18.317 ms) : 18131, 18504
. : milestone, 18317,
code_origins (17.848 ms) : 17670, 18027
. : milestone, 17848,
iast (17.517 ms) : 17348, 17687
. : milestone, 17517,
profiling (18.587 ms) : 18399, 18776
. : milestone, 18587,
tracing (17.389 ms) : 17218, 17560
. : milestone, 17389,
section candidate
no_agent (16.932 ms) : 16767, 17097
. : milestone, 16932,
appsec (18.645 ms) : 18457, 18833
. : milestone, 18645,
code_origins (18.643 ms) : 18454, 18831
. : milestone, 18643,
iast (17.654 ms) : 17477, 17831
. : milestone, 17654,
profiling (18.486 ms) : 18300, 18671
. : milestone, 18486,
tracing (17.412 ms) : 17242, 17582
. : milestone, 17412,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.60.0-SNAPSHOT~1e40a01be0, baseline=1.60.0-SNAPSHOT~af8b84438c
dateFormat X
axisFormat %s
section baseline
no_agent (1.166 ms) : 1155, 1177
. : milestone, 1166,
iast (3.127 ms) : 3086, 3168
. : milestone, 3127,
iast_FULL (5.623 ms) : 5567, 5678
. : milestone, 5623,
iast_GLOBAL (3.639 ms) : 3579, 3700
. : milestone, 3639,
profiling (1.992 ms) : 1974, 2009
. : milestone, 1992,
tracing (1.784 ms) : 1769, 1800
. : milestone, 1784,
section candidate
no_agent (1.185 ms) : 1173, 1197
. : milestone, 1185,
iast (3.01 ms) : 2974, 3047
. : milestone, 3010,
iast_FULL (5.699 ms) : 5641, 5757
. : milestone, 5699,
iast_GLOBAL (3.444 ms) : 3395, 3494
. : milestone, 3444,
profiling (1.882 ms) : 1867, 1898
. : milestone, 1882,
tracing (1.754 ms) : 1739, 1769
. : milestone, 1754,
DacapoParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 11 metrics, 1 unstable metrics. Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.60.0-SNAPSHOT~1e40a01be0, baseline=1.60.0-SNAPSHOT~af8b84438c
dateFormat X
axisFormat %s
section baseline
no_agent (1.473 ms) : 1462, 1485
. : milestone, 1473,
appsec (3.731 ms) : 3513, 3948
. : milestone, 3731,
iast (2.266 ms) : 2197, 2336
. : milestone, 2266,
iast_GLOBAL (2.305 ms) : 2235, 2375
. : milestone, 2305,
profiling (2.113 ms) : 2057, 2169
. : milestone, 2113,
tracing (2.072 ms) : 2018, 2126
. : milestone, 2072,
section candidate
no_agent (1.475 ms) : 1464, 1487
. : milestone, 1475,
appsec (3.787 ms) : 3563, 4010
. : milestone, 3787,
iast (2.25 ms) : 2180, 2319
. : milestone, 2250,
iast_GLOBAL (2.302 ms) : 2232, 2372
. : milestone, 2302,
profiling (2.109 ms) : 2052, 2165
. : milestone, 2109,
tracing (2.089 ms) : 2035, 2143
. : milestone, 2089,
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.60.0-SNAPSHOT~1e40a01be0, baseline=1.60.0-SNAPSHOT~af8b84438c
dateFormat X
axisFormat %s
section baseline
no_agent (15.05 s) : 15050000, 15050000
. : milestone, 15050000,
appsec (15.065 s) : 15065000, 15065000
. : milestone, 15065000,
iast (17.674 s) : 17674000, 17674000
. : milestone, 17674000,
iast_GLOBAL (17.804 s) : 17804000, 17804000
. : milestone, 17804000,
profiling (15.407 s) : 15407000, 15407000
. : milestone, 15407000,
tracing (14.753 s) : 14753000, 14753000
. : milestone, 14753000,
section candidate
no_agent (15.511 s) : 15511000, 15511000
. : milestone, 15511000,
appsec (14.955 s) : 14955000, 14955000
. : milestone, 14955000,
iast (18.381 s) : 18381000, 18381000
. : milestone, 18381000,
iast_GLOBAL (18.017 s) : 18017000, 18017000
. : milestone, 18017000,
profiling (14.821 s) : 14821000, 14821000
. : milestone, 14821000,
tracing (14.591 s) : 14591000, 14591000
. : milestone, 14591000,
|
nikita-tkachenko-datadog
approved these changes
Feb 20, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Does This Do
{"metadata": {"test_name": displayName}}.test.junit5.is_dynamicis introduced to differentiate between actual parameterized tests and dynamic tests.Motivation
The changes allow dynamically generated tests to have independent fingerprints. Previously, they were reported with the method name (in this case the factory method) as
test.name, which made it impossible for our backend to differentiate between all dynamic tests inside the same factory. The factory method is still kept as test name to avoid possible issues where different dynamic tests might have identical display names, which would cause collisions in features such as EFD or FTM.Contributor Checklist
type:and (comp:orinst:) labels in addition to any other useful labelsclose,fix, or any linking keywords when referencing an issueUse
solvesinstead, and assign the PR milestone to the issueJira ticket: [PROJ-IDENT]
Note: Once your PR is ready to merge, add it to the merge queue by commenting
/merge./merge -ccancels the queue request./merge -f --reason "reason"skips all merge queue checks; please use this judiciously, as some checks do not run at the PR-level. For more information, see this doc.