Skip to content

Commit b304f4b

Browse files
Update test.retry_reason to use full name of the feature (#8689)
1 parent fe81e49 commit b304f4b

File tree

97 files changed

+280
-285
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+280
-285
lines changed

dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-efd-new-scenario-outline-5.4.0/events.ftl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
"test.is_retry" : "true",
9595
"test.module" : "cucumber-junit-4",
9696
"test.name" : "Many additions",
97-
"test.retry_reason" : "efd",
97+
"test.retry_reason" : "early_flake_detection",
9898
"test.status" : "pass",
9999
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples",
100100
"test.traits" : "{\"category\":[\"foo\"]}",
@@ -140,7 +140,7 @@
140140
"test.is_retry" : "true",
141141
"test.module" : "cucumber-junit-4",
142142
"test.name" : "Many additions",
143-
"test.retry_reason" : "efd",
143+
"test.retry_reason" : "early_flake_detection",
144144
"test.status" : "pass",
145145
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples",
146146
"test.traits" : "{\"category\":[\"foo\"]}",
@@ -230,7 +230,7 @@
230230
"test.is_retry" : "true",
231231
"test.module" : "cucumber-junit-4",
232232
"test.name" : "Many additions",
233-
"test.retry_reason" : "efd",
233+
"test.retry_reason" : "early_flake_detection",
234234
"test.status" : "pass",
235235
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples",
236236
"test.traits" : "{\"category\":[\"foo\"]}",
@@ -276,7 +276,7 @@
276276
"test.is_retry" : "true",
277277
"test.module" : "cucumber-junit-4",
278278
"test.name" : "Many additions",
279-
"test.retry_reason" : "efd",
279+
"test.retry_reason" : "early_flake_detection",
280280
"test.status" : "pass",
281281
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples",
282282
"test.traits" : "{\"category\":[\"foo\"]}",

dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-efd-new-scenario-outline-latest/events.ftl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
"test.is_retry" : "true",
9595
"test.module" : "cucumber-junit-4",
9696
"test.name" : "Many additions #1",
97-
"test.retry_reason" : "efd",
97+
"test.retry_reason" : "early_flake_detection",
9898
"test.status" : "pass",
9999
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples",
100100
"test.traits" : "{\"category\":[\"foo\"]}",
@@ -140,7 +140,7 @@
140140
"test.is_retry" : "true",
141141
"test.module" : "cucumber-junit-4",
142142
"test.name" : "Many additions #1",
143-
"test.retry_reason" : "efd",
143+
"test.retry_reason" : "early_flake_detection",
144144
"test.status" : "pass",
145145
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples",
146146
"test.traits" : "{\"category\":[\"foo\"]}",
@@ -230,7 +230,7 @@
230230
"test.is_retry" : "true",
231231
"test.module" : "cucumber-junit-4",
232232
"test.name" : "Many additions #2",
233-
"test.retry_reason" : "efd",
233+
"test.retry_reason" : "early_flake_detection",
234234
"test.status" : "pass",
235235
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples",
236236
"test.traits" : "{\"category\":[\"foo\"]}",
@@ -276,7 +276,7 @@
276276
"test.is_retry" : "true",
277277
"test.module" : "cucumber-junit-4",
278278
"test.name" : "Many additions #2",
279-
"test.retry_reason" : "efd",
279+
"test.retry_reason" : "early_flake_detection",
280280
"test.status" : "pass",
281281
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples",
282282
"test.traits" : "{\"category\":[\"foo\"]}",

dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-efd-new-slow-test/events.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
"test.is_retry" : "true",
9595
"test.module" : "cucumber-junit-4",
9696
"test.name" : "Addition",
97-
"test.retry_reason" : "efd",
97+
"test.retry_reason" : "early_flake_detection",
9898
"test.status" : "pass",
9999
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_slow.feature:Basic Arithmetic",
100100
"test.traits" : "{\"category\":[\"foo\"]}",

dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-efd-new-test/events.ftl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
"test.is_retry" : "true",
9595
"test.module" : "cucumber-junit-4",
9696
"test.name" : "Addition",
97-
"test.retry_reason" : "efd",
97+
"test.retry_reason" : "early_flake_detection",
9898
"test.status" : "pass",
9999
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic.feature:Basic Arithmetic",
100100
"test.traits" : "{\"category\":[\"foo\"]}",
@@ -140,7 +140,7 @@
140140
"test.is_retry" : "true",
141141
"test.module" : "cucumber-junit-4",
142142
"test.name" : "Addition",
143-
"test.retry_reason" : "efd",
143+
"test.retry_reason" : "early_flake_detection",
144144
"test.status" : "pass",
145145
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic.feature:Basic Arithmetic",
146146
"test.traits" : "{\"category\":[\"foo\"]}",

dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-efd-skip-new-test/events.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,4 +142,4 @@
142142
},
143143
"type" : "test_module_end",
144144
"version" : 1
145-
} ]
145+
} ]

dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-quarantined-failed-atr/events.ftl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
"test.is_retry" : "true",
100100
"test.module" : "cucumber-junit-4",
101101
"test.name" : "Addition",
102-
"test.retry_reason" : "atr",
102+
"test.retry_reason" : "auto_test_retry",
103103
"test.status" : "fail",
104104
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_failed.feature:Basic Arithmetic",
105105
"test.test_management.is_quarantined" : "true",
@@ -148,7 +148,7 @@
148148
"test.is_retry" : "true",
149149
"test.module" : "cucumber-junit-4",
150150
"test.name" : "Addition",
151-
"test.retry_reason" : "atr",
151+
"test.retry_reason" : "auto_test_retry",
152152
"test.status" : "fail",
153153
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_failed.feature:Basic Arithmetic",
154154
"test.test_management.is_quarantined" : "true",
@@ -197,7 +197,7 @@
197197
"test.is_retry" : "true",
198198
"test.module" : "cucumber-junit-4",
199199
"test.name" : "Addition",
200-
"test.retry_reason" : "atr",
200+
"test.retry_reason" : "auto_test_retry",
201201
"test.status" : "fail",
202202
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_failed.feature:Basic Arithmetic",
203203
"test.test_management.is_quarantined" : "true",
@@ -247,7 +247,7 @@
247247
"test.is_retry" : "true",
248248
"test.module" : "cucumber-junit-4",
249249
"test.name" : "Addition",
250-
"test.retry_reason" : "atr",
250+
"test.retry_reason" : "auto_test_retry",
251251
"test.status" : "fail",
252252
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_failed.feature:Basic Arithmetic",
253253
"test.test_management.is_quarantined" : "true",

dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-quarantined-failed-efd/events.ftl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
"test.is_retry" : "true",
102102
"test.module" : "cucumber-junit-4",
103103
"test.name" : "Addition",
104-
"test.retry_reason" : "efd",
104+
"test.retry_reason" : "early_flake_detection",
105105
"test.status" : "fail",
106106
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_failed.feature:Basic Arithmetic",
107107
"test.test_management.is_quarantined" : "true",
@@ -152,7 +152,7 @@
152152
"test.is_retry" : "true",
153153
"test.module" : "cucumber-junit-4",
154154
"test.name" : "Addition",
155-
"test.retry_reason" : "efd",
155+
"test.retry_reason" : "early_flake_detection",
156156
"test.status" : "fail",
157157
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_failed.feature:Basic Arithmetic",
158158
"test.test_management.is_quarantined" : "true",

dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-retry-failure/events.ftl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
"test.is_retry" : "true",
9999
"test.module" : "cucumber-junit-4",
100100
"test.name" : "Addition",
101-
"test.retry_reason" : "atr",
101+
"test.retry_reason" : "auto_test_retry",
102102
"test.status" : "fail",
103103
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_failed.feature:Basic Arithmetic",
104104
"test.traits" : "{\"category\":[\"foo\"]}",
@@ -146,7 +146,7 @@
146146
"test.is_retry" : "true",
147147
"test.module" : "cucumber-junit-4",
148148
"test.name" : "Addition",
149-
"test.retry_reason" : "atr",
149+
"test.retry_reason" : "auto_test_retry",
150150
"test.status" : "fail",
151151
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_failed.feature:Basic Arithmetic",
152152
"test.traits" : "{\"category\":[\"foo\"]}",
@@ -194,7 +194,7 @@
194194
"test.is_retry" : "true",
195195
"test.module" : "cucumber-junit-4",
196196
"test.name" : "Addition",
197-
"test.retry_reason" : "atr",
197+
"test.retry_reason" : "auto_test_retry",
198198
"test.status" : "fail",
199199
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_failed.feature:Basic Arithmetic",
200200
"test.traits" : "{\"category\":[\"foo\"]}",
@@ -243,7 +243,7 @@
243243
"test.is_retry" : "true",
244244
"test.module" : "cucumber-junit-4",
245245
"test.name" : "Addition",
246-
"test.retry_reason" : "atr",
246+
"test.retry_reason" : "auto_test_retry",
247247
"test.status" : "fail",
248248
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_failed.feature:Basic Arithmetic",
249249
"test.traits" : "{\"category\":[\"foo\"]}",

dd-java-agent/instrumentation/junit-4.10/cucumber-junit-4/src/test/resources/test-retry-scenario-outline-5.4.0/events.ftl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@
184184
"test.is_retry" : "true",
185185
"test.module" : "cucumber-junit-4",
186186
"test.name" : "Many additions",
187-
"test.retry_reason" : "atr",
187+
"test.retry_reason" : "auto_test_retry",
188188
"test.status" : "fail",
189189
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples_failed.feature:Basic Arithmetic With Examples",
190190
"test.traits" : "{\"category\":[\"foo\"]}",
@@ -232,7 +232,7 @@
232232
"test.is_retry" : "true",
233233
"test.module" : "cucumber-junit-4",
234234
"test.name" : "Many additions",
235-
"test.retry_reason" : "atr",
235+
"test.retry_reason" : "auto_test_retry",
236236
"test.status" : "fail",
237237
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples_failed.feature:Basic Arithmetic With Examples",
238238
"test.traits" : "{\"category\":[\"foo\"]}",
@@ -280,7 +280,7 @@
280280
"test.is_retry" : "true",
281281
"test.module" : "cucumber-junit-4",
282282
"test.name" : "Many additions",
283-
"test.retry_reason" : "atr",
283+
"test.retry_reason" : "auto_test_retry",
284284
"test.status" : "fail",
285285
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples_failed.feature:Basic Arithmetic With Examples",
286286
"test.traits" : "{\"category\":[\"foo\"]}",
@@ -329,7 +329,7 @@
329329
"test.is_retry" : "true",
330330
"test.module" : "cucumber-junit-4",
331331
"test.name" : "Many additions",
332-
"test.retry_reason" : "atr",
332+
"test.retry_reason" : "auto_test_retry",
333333
"test.status" : "fail",
334334
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples_failed.feature:Basic Arithmetic With Examples",
335335
"test.traits" : "{\"category\":[\"foo\"]}",

dd-java-agent/instrumentation/junit-4.10/munit-junit-4/src/test/resources/test-efd-new-slow-test/events.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
"test.is_retry" : "true",
169169
"test.module" : "munit-junit-4",
170170
"test.name" : "Calculator.add",
171-
"test.retry_reason" : "efd",
171+
"test.retry_reason" : "early_flake_detection",
172172
"test.source.file" : "dummy_source_path",
173173
"test.status" : "pass",
174174
"test.suite" : "org.example.TestSucceedMUnitSlow",

dd-java-agent/instrumentation/junit-4.10/munit-junit-4/src/test/resources/test-efd-new-test/events.ftl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
"test.is_retry" : "true",
170170
"test.module" : "munit-junit-4",
171171
"test.name" : "Calculator.add",
172-
"test.retry_reason" : "efd",
172+
"test.retry_reason" : "early_flake_detection",
173173
"test.source.file" : "dummy_source_path",
174174
"test.status" : "pass",
175175
"test.suite" : "org.example.TestSucceedMUnit",
@@ -217,7 +217,7 @@
217217
"test.is_retry" : "true",
218218
"test.module" : "munit-junit-4",
219219
"test.name" : "Calculator.add",
220-
"test.retry_reason" : "efd",
220+
"test.retry_reason" : "early_flake_detection",
221221
"test.source.file" : "dummy_source_path",
222222
"test.status" : "pass",
223223
"test.suite" : "org.example.TestSucceedMUnit",

dd-java-agent/instrumentation/junit-4.10/munit-junit-4/src/test/resources/test-efd-skip-new-test/events.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,4 +148,4 @@
148148
},
149149
"type" : "test",
150150
"version" : 2
151-
} ]
151+
} ]

dd-java-agent/instrumentation/junit-4.10/munit-junit-4/src/test/resources/test-failed-then-succeed/events.ftl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
"test.is_retry" : "true",
172172
"test.module" : "munit-junit-4",
173173
"test.name" : "Calculator.add",
174-
"test.retry_reason" : "atr",
174+
"test.retry_reason" : "auto_test_retry",
175175
"test.source.file" : "dummy_source_path",
176176
"test.status" : "fail",
177177
"test.suite" : "org.example.TestFailedThenSucceedMUnit",
@@ -218,7 +218,7 @@
218218
"test.is_retry" : "true",
219219
"test.module" : "munit-junit-4",
220220
"test.name" : "Calculator.add",
221-
"test.retry_reason" : "atr",
221+
"test.retry_reason" : "auto_test_retry",
222222
"test.source.file" : "dummy_source_path",
223223
"test.status" : "pass",
224224
"test.suite" : "org.example.TestFailedThenSucceedMUnit",

dd-java-agent/instrumentation/junit-4.10/munit-junit-4/src/test/resources/test-quarantined-failed-atr/events.ftl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@
174174
"test.is_retry" : "true",
175175
"test.module" : "munit-junit-4",
176176
"test.name" : "Calculator.add",
177-
"test.retry_reason" : "atr",
177+
"test.retry_reason" : "auto_test_retry",
178178
"test.source.file" : "dummy_source_path",
179179
"test.status" : "fail",
180180
"test.suite" : "org.example.TestFailedMUnit",
@@ -225,7 +225,7 @@
225225
"test.is_retry" : "true",
226226
"test.module" : "munit-junit-4",
227227
"test.name" : "Calculator.add",
228-
"test.retry_reason" : "atr",
228+
"test.retry_reason" : "auto_test_retry",
229229
"test.source.file" : "dummy_source_path",
230230
"test.status" : "fail",
231231
"test.suite" : "org.example.TestFailedMUnit",
@@ -276,7 +276,7 @@
276276
"test.is_retry" : "true",
277277
"test.module" : "munit-junit-4",
278278
"test.name" : "Calculator.add",
279-
"test.retry_reason" : "atr",
279+
"test.retry_reason" : "auto_test_retry",
280280
"test.source.file" : "dummy_source_path",
281281
"test.status" : "fail",
282282
"test.suite" : "org.example.TestFailedMUnit",
@@ -328,7 +328,7 @@
328328
"test.is_retry" : "true",
329329
"test.module" : "munit-junit-4",
330330
"test.name" : "Calculator.add",
331-
"test.retry_reason" : "atr",
331+
"test.retry_reason" : "auto_test_retry",
332332
"test.source.file" : "dummy_source_path",
333333
"test.status" : "fail",
334334
"test.suite" : "org.example.TestFailedMUnit",

dd-java-agent/instrumentation/junit-4.10/munit-junit-4/src/test/resources/test-quarantined-failed-efd/events.ftl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@
178178
"test.is_retry" : "true",
179179
"test.module" : "munit-junit-4",
180180
"test.name" : "Calculator.add",
181-
"test.retry_reason" : "efd",
181+
"test.retry_reason" : "early_flake_detection",
182182
"test.source.file" : "dummy_source_path",
183183
"test.status" : "fail",
184184
"test.suite" : "org.example.TestFailedMUnit",
@@ -231,7 +231,7 @@
231231
"test.is_retry" : "true",
232232
"test.module" : "munit-junit-4",
233233
"test.name" : "Calculator.add",
234-
"test.retry_reason" : "efd",
234+
"test.retry_reason" : "early_flake_detection",
235235
"test.source.file" : "dummy_source_path",
236236
"test.status" : "fail",
237237
"test.suite" : "org.example.TestFailedMUnit",

dd-java-agent/instrumentation/junit-4.10/munit-junit-4/src/test/resources/test-retry-failed/events.ftl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
"test.is_retry" : "true",
172172
"test.module" : "munit-junit-4",
173173
"test.name" : "Calculator.add",
174-
"test.retry_reason" : "atr",
174+
"test.retry_reason" : "auto_test_retry",
175175
"test.source.file" : "dummy_source_path",
176176
"test.status" : "fail",
177177
"test.suite" : "org.example.TestFailedMUnit",
@@ -221,7 +221,7 @@
221221
"test.is_retry" : "true",
222222
"test.module" : "munit-junit-4",
223223
"test.name" : "Calculator.add",
224-
"test.retry_reason" : "atr",
224+
"test.retry_reason" : "auto_test_retry",
225225
"test.source.file" : "dummy_source_path",
226226
"test.status" : "fail",
227227
"test.suite" : "org.example.TestFailedMUnit",
@@ -271,7 +271,7 @@
271271
"test.is_retry" : "true",
272272
"test.module" : "munit-junit-4",
273273
"test.name" : "Calculator.add",
274-
"test.retry_reason" : "atr",
274+
"test.retry_reason" : "auto_test_retry",
275275
"test.source.file" : "dummy_source_path",
276276
"test.status" : "fail",
277277
"test.suite" : "org.example.TestFailedMUnit",
@@ -322,7 +322,7 @@
322322
"test.is_retry" : "true",
323323
"test.module" : "munit-junit-4",
324324
"test.name" : "Calculator.add",
325-
"test.retry_reason" : "atr",
325+
"test.retry_reason" : "auto_test_retry",
326326
"test.source.file" : "dummy_source_path",
327327
"test.status" : "fail",
328328
"test.suite" : "org.example.TestFailedMUnit",

0 commit comments

Comments
 (0)