Skip to content

Commit 99e2034

Browse files
Add test.retry_reason to test fixtures
1 parent 23afa9f commit 99e2034

File tree

68 files changed

+214
-1
lines changed

Some content is hidden

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

68 files changed

+214
-1
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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
"test.is_retry" : "true",
9595
"test.module" : "cucumber-junit-4",
9696
"test.name" : "Many additions",
97+
"test.retry_reason" : "efd",
9798
"test.status" : "pass",
9899
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples",
99100
"test.traits" : "{\"category\":[\"foo\"]}",
@@ -139,6 +140,7 @@
139140
"test.is_retry" : "true",
140141
"test.module" : "cucumber-junit-4",
141142
"test.name" : "Many additions",
143+
"test.retry_reason" : "efd",
142144
"test.status" : "pass",
143145
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples",
144146
"test.traits" : "{\"category\":[\"foo\"]}",
@@ -228,6 +230,7 @@
228230
"test.is_retry" : "true",
229231
"test.module" : "cucumber-junit-4",
230232
"test.name" : "Many additions",
233+
"test.retry_reason" : "efd",
231234
"test.status" : "pass",
232235
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples",
233236
"test.traits" : "{\"category\":[\"foo\"]}",
@@ -273,6 +276,7 @@
273276
"test.is_retry" : "true",
274277
"test.module" : "cucumber-junit-4",
275278
"test.name" : "Many additions",
279+
"test.retry_reason" : "efd",
276280
"test.status" : "pass",
277281
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples",
278282
"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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
"test.is_retry" : "true",
9595
"test.module" : "cucumber-junit-4",
9696
"test.name" : "Many additions #1",
97+
"test.retry_reason" : "efd",
9798
"test.status" : "pass",
9899
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples",
99100
"test.traits" : "{\"category\":[\"foo\"]}",
@@ -139,6 +140,7 @@
139140
"test.is_retry" : "true",
140141
"test.module" : "cucumber-junit-4",
141142
"test.name" : "Many additions #1",
143+
"test.retry_reason" : "efd",
142144
"test.status" : "pass",
143145
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples",
144146
"test.traits" : "{\"category\":[\"foo\"]}",
@@ -228,6 +230,7 @@
228230
"test.is_retry" : "true",
229231
"test.module" : "cucumber-junit-4",
230232
"test.name" : "Many additions #2",
233+
"test.retry_reason" : "efd",
231234
"test.status" : "pass",
232235
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples",
233236
"test.traits" : "{\"category\":[\"foo\"]}",
@@ -273,6 +276,7 @@
273276
"test.is_retry" : "true",
274277
"test.module" : "cucumber-junit-4",
275278
"test.name" : "Many additions #2",
279+
"test.retry_reason" : "efd",
276280
"test.status" : "pass",
277281
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples.feature:Basic Arithmetic With Examples",
278282
"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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
"test.is_retry" : "true",
9595
"test.module" : "cucumber-junit-4",
9696
"test.name" : "Addition",
97+
"test.retry_reason" : "efd",
9798
"test.status" : "pass",
9899
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_slow.feature:Basic Arithmetic",
99100
"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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
"test.is_retry" : "true",
9595
"test.module" : "cucumber-junit-4",
9696
"test.name" : "Addition",
97+
"test.retry_reason" : "efd",
9798
"test.status" : "pass",
9899
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic.feature:Basic Arithmetic",
99100
"test.traits" : "{\"category\":[\"foo\"]}",
@@ -139,6 +140,7 @@
139140
"test.is_retry" : "true",
140141
"test.module" : "cucumber-junit-4",
141142
"test.name" : "Addition",
143+
"test.retry_reason" : "efd",
142144
"test.status" : "pass",
143145
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic.feature:Basic Arithmetic",
144146
"test.traits" : "{\"category\":[\"foo\"]}",

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
"test.is_retry" : "true",
9999
"test.module" : "cucumber-junit-4",
100100
"test.name" : "Addition",
101+
"test.retry_reason" : "atr",
101102
"test.status" : "fail",
102103
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_failed.feature:Basic Arithmetic",
103104
"test.traits" : "{\"category\":[\"foo\"]}",
@@ -145,6 +146,7 @@
145146
"test.is_retry" : "true",
146147
"test.module" : "cucumber-junit-4",
147148
"test.name" : "Addition",
149+
"test.retry_reason" : "atr",
148150
"test.status" : "fail",
149151
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_failed.feature:Basic Arithmetic",
150152
"test.traits" : "{\"category\":[\"foo\"]}",
@@ -192,6 +194,7 @@
192194
"test.is_retry" : "true",
193195
"test.module" : "cucumber-junit-4",
194196
"test.name" : "Addition",
197+
"test.retry_reason" : "atr",
195198
"test.status" : "fail",
196199
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_failed.feature:Basic Arithmetic",
197200
"test.traits" : "{\"category\":[\"foo\"]}",
@@ -239,6 +242,7 @@
239242
"test.is_retry" : "true",
240243
"test.module" : "cucumber-junit-4",
241244
"test.name" : "Addition",
245+
"test.retry_reason" : "atr",
242246
"test.status" : "fail",
243247
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_failed.feature:Basic Arithmetic",
244248
"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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@
184184
"test.is_retry" : "true",
185185
"test.module" : "cucumber-junit-4",
186186
"test.name" : "Many additions",
187+
"test.retry_reason" : "atr",
187188
"test.status" : "fail",
188189
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples_failed.feature:Basic Arithmetic With Examples",
189190
"test.traits" : "{\"category\":[\"foo\"]}",
@@ -231,6 +232,7 @@
231232
"test.is_retry" : "true",
232233
"test.module" : "cucumber-junit-4",
233234
"test.name" : "Many additions",
235+
"test.retry_reason" : "atr",
234236
"test.status" : "fail",
235237
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples_failed.feature:Basic Arithmetic With Examples",
236238
"test.traits" : "{\"category\":[\"foo\"]}",
@@ -278,6 +280,7 @@
278280
"test.is_retry" : "true",
279281
"test.module" : "cucumber-junit-4",
280282
"test.name" : "Many additions",
283+
"test.retry_reason" : "atr",
281284
"test.status" : "fail",
282285
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples_failed.feature:Basic Arithmetic With Examples",
283286
"test.traits" : "{\"category\":[\"foo\"]}",
@@ -325,6 +328,7 @@
325328
"test.is_retry" : "true",
326329
"test.module" : "cucumber-junit-4",
327330
"test.name" : "Many additions",
331+
"test.retry_reason" : "atr",
328332
"test.status" : "fail",
329333
"test.suite" : "classpath:org/example/cucumber/calculator/basic_arithmetic_with_examples_failed.feature:Basic Arithmetic With Examples",
330334
"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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@
168168
"test.is_retry" : "true",
169169
"test.module" : "munit-junit-4",
170170
"test.name" : "Calculator.add",
171+
"test.retry_reason" : "efd",
171172
"test.source.file" : "dummy_source_path",
172173
"test.status" : "pass",
173174
"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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@
169169
"test.is_retry" : "true",
170170
"test.module" : "munit-junit-4",
171171
"test.name" : "Calculator.add",
172+
"test.retry_reason" : "efd",
172173
"test.source.file" : "dummy_source_path",
173174
"test.status" : "pass",
174175
"test.suite" : "org.example.TestSucceedMUnit",
@@ -216,6 +217,7 @@
216217
"test.is_retry" : "true",
217218
"test.module" : "munit-junit-4",
218219
"test.name" : "Calculator.add",
220+
"test.retry_reason" : "efd",
219221
"test.source.file" : "dummy_source_path",
220222
"test.status" : "pass",
221223
"test.suite" : "org.example.TestSucceedMUnit",

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@
171171
"test.is_retry" : "true",
172172
"test.module" : "munit-junit-4",
173173
"test.name" : "Calculator.add",
174+
"test.retry_reason" : "atr",
174175
"test.source.file" : "dummy_source_path",
175176
"test.status" : "fail",
176177
"test.suite" : "org.example.TestFailedThenSucceedMUnit",
@@ -217,6 +218,7 @@
217218
"test.is_retry" : "true",
218219
"test.module" : "munit-junit-4",
219220
"test.name" : "Calculator.add",
221+
"test.retry_reason" : "atr",
220222
"test.source.file" : "dummy_source_path",
221223
"test.status" : "pass",
222224
"test.suite" : "org.example.TestFailedThenSucceedMUnit",

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@
171171
"test.is_retry" : "true",
172172
"test.module" : "munit-junit-4",
173173
"test.name" : "Calculator.add",
174+
"test.retry_reason" : "atr",
174175
"test.source.file" : "dummy_source_path",
175176
"test.status" : "fail",
176177
"test.suite" : "org.example.TestFailedMUnit",
@@ -220,6 +221,7 @@
220221
"test.is_retry" : "true",
221222
"test.module" : "munit-junit-4",
222223
"test.name" : "Calculator.add",
224+
"test.retry_reason" : "atr",
223225
"test.source.file" : "dummy_source_path",
224226
"test.status" : "fail",
225227
"test.suite" : "org.example.TestFailedMUnit",
@@ -269,6 +271,7 @@
269271
"test.is_retry" : "true",
270272
"test.module" : "munit-junit-4",
271273
"test.name" : "Calculator.add",
274+
"test.retry_reason" : "atr",
272275
"test.source.file" : "dummy_source_path",
273276
"test.status" : "fail",
274277
"test.suite" : "org.example.TestFailedMUnit",
@@ -318,6 +321,7 @@
318321
"test.is_retry" : "true",
319322
"test.module" : "munit-junit-4",
320323
"test.name" : "Calculator.add",
324+
"test.retry_reason" : "atr",
321325
"test.source.file" : "dummy_source_path",
322326
"test.status" : "fail",
323327
"test.suite" : "org.example.TestFailedMUnit",

0 commit comments

Comments
 (0)