BuildScanPerformanceTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Prefer composition over inheritance in PerformanceTest hierarchy (#10262)

### Context

Previously, we had a bad `PerformanceTest` hierarchy:

- PerformanceTest

- ReportGenerationPerformanceTest

- BuildScanPerformanceTest

- DistributedPerformanceTest

- RerunDistributedPerformanceTest

This PR does a refactoring - extracts a `PerformanceTestReporter`/`DistributedPerformanceTestReporter` out of the `PerformanceTest` hierarchy, because https://github.com/gradle/gradle-private/issues/2192 wants a report, too.

The hierarchy after the refactoring:

- PerformanceTest

- DistributedPerformanceTest

- PerformanceTestReporter

So we can make things easier.

  1. … 10 more files in changeset.
Refactor performance test hierarchy

  1. … 11 more files in changeset.
Refactor performance test hierarchy

  1. … 11 more files in changeset.
Detect flaky performance test scenarios (#8367)

As part of https://github.com/gradle/gradle-private/issues/1635 , we want to detect flaky performance test with a weekly job, in order to know which scenarios are flaky.

  1. … 22 more files in changeset.
Add unknown status to avoid misleading report row

  1. … 5 more files in changeset.
Add unknown status to avoid misleading report row

See https://github.com/gradle/gradle-private/issues/1560

Previously we don't check TC cancelled status (UNKNOWN). This commit supports

this by introducing another tag `UNKNOWN`.

  1. … 5 more files in changeset.
Rename getResultsForReport method to suppress validation warning

  1. … 2 more files in changeset.
Fix broken buildScanPerformance tests (#6814)

* Fix broken buildScanPerformance tests

* Fix BuildScanPerformanceTest's reportDir

* Decrease to 1 for now to test

* Fix warning

* Change test name to test id

* Make BuildScanPerformanceTest cacheable

* Make ReportGenerationPerformanceTest compile static

* Fix override issue

    • -0
    • +73
    ./BuildScanPerformanceTest.groovy
  1. … 5 more files in changeset.