Commit a29522b
authored
Implement early exit for retry mechanisms (#10604)
feat: implement early exit policy
chore: update test fixtures removing additional retries
chore: missed final status updates
fix: only tag "test.has_failed_all_retries" if test retried > 0
chore: lint
Co-authored-by: daniel.mohedano <daniel.mohedano@datadoghq.com>1 parent d77d632 commit a29522b
91 files changed
Lines changed: 461 additions & 6709 deletions
File tree
- dd-java-agent
- agent-ci-visibility/src
- main/java/datadog/trace/civisibility
- events
- execution
- exit
- test
- test/groovy/datadog/trace/civisibility/execution
- instrumentation
- junit
- junit-4
- junit-4-cucumber-5.4/src/test/resources
- test-attempt-to-fix-disabled-failed
- test-attempt-to-fix-failed
- test-attempt-to-fix-quarantined-failed
- test-efd-new-scenario-outline-latest
- test-empty-name-latest
- test-multiple-features-latest
- test-retry-scenario-outline-latest
- test-scenario-outline-latest
- junit-4-munit-0.7.28/src/test/resources
- test-attempt-to-fix-disabled-failed
- test-attempt-to-fix-failed
- test-attempt-to-fix-quarantined-failed
- test-failed-assumption-latest
- junit-4.10/src/test/resources
- test-attempt-to-fix-disabled-failed
- test-attempt-to-fix-failed
- test-attempt-to-fix-quarantined-failed
- junit-5
- junit-5-cucumber-5.4/src/test/resources
- test-attempt-to-fix-disabled-failed
- test-attempt-to-fix-failed
- test-attempt-to-fix-quarantined-failed
- test-efd-new-scenario-outline-latest
- test-retry-failed-scenario-outline-latest
- test-scenario-outline-latest
- test-skipped-scenario-outline-latest
- junit-5-spock-2.0/src/test/resources
- test-attempt-to-fix-disabled-failed
- test-attempt-to-fix-failed
- test-attempt-to-fix-quarantined-failed
- junit-5.3/src/test/resources
- test-attempt-to-fix-disabled-failed
- test-attempt-to-fix-failed
- test-attempt-to-fix-quarantined-failed
- test-disabled-failed-parameterized-6
- test-efd-known-parameterized-test-6
- test-efd-new-parameterized-test-6
- test-itr-skipping-parametrized-6
- test-parameterized-6
- test-quarantined-failed-parameterized-6
- test-retry-parameterized-6
- karate-1.0/src/test/resources
- test-attempt-to-fix-disabled-failed
- test-attempt-to-fix-failed
- test-attempt-to-fix-quarantined-failed
- test-disabled-failed
- test-itr-skipping-parameterized
- test-itr-skipping
- test-itr-unskippable
- test-with-setup
- scalatest-3.0.8/src/test/resources
- test-attempt-to-fix-disabled-failed
- test-attempt-to-fix-failed
- test-attempt-to-fix-quarantined-failed
- testng/testng-7.0/src/test/resources
- test-attempt-to-fix-disabled-failed
- test-attempt-to-fix-disabled-succeeded
- test-attempt-to-fix-failed
- test-attempt-to-fix-quarantined-failed
- test-attempt-to-fix-quarantined-succeeded
- test-attempt-to-fix-succeeded
- test-efd-faulty-session-threshold
- test-efd-known-parameterized-test
- test-efd-known-tests-and-new-test
- test-efd-known-test
- test-efd-new-parameterized-test
- test-efd-new-slow-test
- test-efd-new-test
- test-efd-new-very-slow-test
- test-efd-skip-new-test
- test-failed-then-succeed
- test-quarantined-failed-atr
- test-quarantined-failed-efd
- test-quarantined-failed-known
- test-quarantined-failed-parameterized
- test-quarantined-failed
- test-retry-error
- test-retry-failed
- test-retry-parameterized
- dd-smoke-tests
- gradle/src/test/resources
- test-failed-legacy-instrumentation
- test-succeed-legacy-instrumentation
- test-succeed-multi-forks-legacy-instrumentation
- test-succeed-multi-module-legacy-instrumentation
- maven/src/test
- groovy/datadog/smoketest
- resources/test_successful_maven_run_test_management
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
| 272 | + | |
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
| |||
Lines changed: 19 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
| 21 | + | |
17 | 22 | | |
18 | 23 | | |
| 24 | + | |
19 | 25 | | |
20 | 26 | | |
21 | 27 | | |
22 | 28 | | |
23 | | - | |
| 29 | + | |
| 30 | + | |
24 | 31 | | |
25 | 32 | | |
26 | 33 | | |
27 | 34 | | |
28 | 35 | | |
29 | 36 | | |
| 37 | + | |
30 | 38 | | |
31 | 39 | | |
32 | 40 | | |
| |||
35 | 43 | | |
36 | 44 | | |
37 | 45 | | |
| 46 | + | |
| 47 | + | |
38 | 48 | | |
39 | 49 | | |
40 | 50 | | |
41 | 51 | | |
42 | 52 | | |
43 | 53 | | |
44 | 54 | | |
45 | | - | |
46 | | - | |
| 55 | + | |
47 | 56 | | |
48 | 57 | | |
49 | 58 | | |
50 | 59 | | |
51 | | - | |
| 60 | + | |
52 | 61 | | |
53 | 62 | | |
54 | 63 | | |
| |||
58 | 67 | | |
59 | 68 | | |
60 | 69 | | |
61 | | - | |
62 | | - | |
| 70 | + | |
| 71 | + | |
63 | 72 | | |
64 | 73 | | |
65 | 74 | | |
66 | 75 | | |
67 | 76 | | |
68 | 77 | | |
69 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
70 | 81 | | |
71 | 82 | | |
72 | 83 | | |
| |||
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
129 | 131 | | |
130 | 132 | | |
131 | 133 | | |
132 | | - | |
| 134 | + | |
| 135 | + | |
133 | 136 | | |
134 | 137 | | |
135 | 138 | | |
| |||
139 | 142 | | |
140 | 143 | | |
141 | 144 | | |
142 | | - | |
| 145 | + | |
| 146 | + | |
143 | 147 | | |
144 | 148 | | |
145 | 149 | | |
| |||
Lines changed: 40 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
12 | | - | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| |||
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
50 | | - | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| |||
85 | 88 | | |
86 | 89 | | |
87 | 90 | | |
88 | | - | |
| 91 | + | |
89 | 92 | | |
90 | 93 | | |
91 | 94 | | |
| |||
123 | 126 | | |
124 | 127 | | |
125 | 128 | | |
126 | | - | |
| 129 | + | |
127 | 130 | | |
128 | 131 | | |
129 | 132 | | |
| |||
159 | 162 | | |
160 | 163 | | |
161 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
162 | 196 | | |
163 | 197 | | |
164 | | - | |
| 198 | + | |
165 | 199 | | |
166 | 200 | | |
167 | 201 | | |
168 | 202 | | |
169 | 203 | | |
170 | 204 | | |
171 | 205 | | |
172 | | - | |
| 206 | + | |
173 | 207 | | |
174 | 208 | | |
175 | 209 | | |
| |||
Lines changed: 0 additions & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 8 | | |
0 commit comments