Commit c7c5f97
authored
[CI] Enable Develocity test retry selectively (#21479)
The `sbt-develocity` plugin offers the ability to retry failing tests,
and to detect flaky ones. A flaky test is marked as flaky in the
Develocity test report, which will help us track them across many CI
executions. See for example the flaky test chart in the [Pekko
dashboard](https://ge.apache.org/scans/tests?search.relativeStartTime=P90D&search.rootProjectNames=Pekko&search.tags=not:CI&search.timeZoneId=Europe%2FZurich).
This PR contains the following configuration:
- retry each failing test once (to be adjusted if needed)
- don't retry if more than 10 tests fail in the current test run (to be
adjusted if needed)
- fail the build if a test is flaky
- disable test retry in a predefined set of test classes: the
compilation test classes. In those classes, we don't have enough
granularity for the test retry to be meaningful, because each test is
responsible for compiling many independent files.
@dotta @c00ler @Duhemm @lrytz1 file changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
279 | 291 | | |
280 | 292 | | |
281 | 293 | | |
| |||
293 | 305 | | |
294 | 306 | | |
295 | 307 | | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
296 | 315 | | |
297 | 316 | | |
298 | 317 | | |
| |||
0 commit comments