Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Do not enable partial invalidation in integTests

we now run tests with watching enabled, that

should be enough to test partial invalidation

as well.

Add test runner and base test for JPMS integration tests

    • -0
    • +60
    ./fixtures/JavaCompileMultiTestRunner.groovy
  1. … 1 more file in changeset.
Remove always-true KOTLIN_SCRIPT test precondition

    • -3
    • +1
    ./fixtures/AbstractPolyglotIntegrationSpec.groovy
  1. … 43 more files in changeset.
Add test coverage for per project lockfile

This is done by making sure most tests cover both the existing file

format and the upcoming file format.

Issue #11881

    • -1
    • +1
    ./fixtures/FeaturePreviewsFixture.groovy
  1. … 14 more files in changeset.
Print daemon crash log if any exists (#12482)

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

When daemon crashs, we print its crash log.

    • -0
    • +5
    ./fixtures/executer/GradleExecuter.java
  1. … 1 more file in changeset.
Do not drop VFS in vfs executor on first build

Each test is using a new daemon, so we don't have

to drop the VFS, and the continuous build dropped

the VFS on every build in the build session, so they

passed even though they are not fixed.

    • -6
    • +1
    ./fixtures/executer/VfsRetentionGradleExecuter.groovy
Adjust InstantExecutionGradleExecuter

removing unneeded flag for strict mode as it is now the default

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -2
    • +1
    ./fixtures/executer/InstantExecutionGradleExecuter.groovy
Fix some warnings in Executer and Result

    • -35
    • +31
    ./fixtures/executer/OutputScrapingExecutionResult.java
Improve tests for detecting changes during the build

    • -2
    • +23
    ./fixtures/VfsRetentionFixture.groovy
    • -0
    • +5
    ./fixtures/executer/ErrorsOnStdoutScrapingExecutionResult.java
    • -0
    • +9
    ./fixtures/executer/ExecutionResult.java
    • -2
    • +18
    ./fixtures/executer/OutputScrapingExecutionResult.java
  1. … 2 more files in changeset.
Rename feature preview and unique lockfile name

Plus other tweaks following code review.

Issue #11881

    • -1
    • +1
    ./fixtures/FeaturePreviewsFixture.groovy
  1. … 5 more files in changeset.
Force AbstractTestDirectoryProvider to use Class (#12431)

Closes https://github.com/gradle/gradle-private/issues/2988

This PR adds `className` to `AbstractTestDirectoryProvider` so there'll be no more `unknown-test-class`.

    • -1
    • +1
    ./fixtures/AbstractIntegrationSpec.groovy
    • -1
    • +1
    ./fixtures/AbstractIntegrationTest.java
    • -1
    • +1
    ./fixtures/CrossVersionIntegrationSpec.groovy
  1. … 405 more files in changeset.
Add link to `CrossVersionTestRunner` to `@TargetVersions` and `@IgnoreVersions`

Add test for changes during the build

  1. … 1 more file in changeset.
Improve and document flags for running multi version tests

This commit makes it easier to run all or partial configurations and

properly takes into account using the system property on the command

line.

    • -0
    • +2
    ./fixtures/AbstractCompatibilityTestRunner.java
    • -2
    • +19
    ./fixtures/AbstractContextualMultiVersionSpecRunner.java
    • -0
    • +2
    ./fixtures/CrossVersionTestRunner.groovy
    • -0
    • +3
    ./fixtures/MultiVersionIntegrationSpec.groovy
    • -1
    • +3
    ./fixtures/MultiVersionSpecRunner.groovy
  1. … 4 more files in changeset.
@ToBeFixedForInstantExecution(because = ":reportingTasks use Task.getProject()")

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +2
    ./fixtures/WellBehavedPluginTest.groovy
  1. … 19 more files in changeset.
Initial support for unique lockfile per project

With a feature preview, Gradle now supports reading from a unique

lockfile per project.

If the support is enabled and the unique lockfile has no lock

information for a locked configuration, Gradle attempts to read the

configuration specific lockfile in case it exists.

Issue #11881

    • -0
    • +6
    ./fixtures/FeaturePreviewsFixture.groovy
  1. … 9 more files in changeset.
Wait longer for many changes after each other

to avoid an overflow.

  1. … 1 more file in changeset.
Adjust soak test so it passes

- wait less time for changes, since 100ms seems

to be plenty

- Change at most a 1000 files in a batch, to

avoid running into an overflow

- Run fewer builds on a single daemon, since it

shouldn't make any difference.

  1. … 1 more file in changeset.
Allow declaring a whole spec @UnsupportedWithInstantExecution

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -1
    • +1
    ./fixtures/UnsupportedWithInstantExecution.java
    • -0
    • +14
    ./fixtures/UnsupportedWithInstantExecutionExtension.groovy
Allow declaring a cause for @UnsupportedWithInstantExecution

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +2
    ./fixtures/UnsupportedWithInstantExecution.java
Extract VfsRetentionFixture

so we have one place to change how we test VFS

retention.

    • -0
    • +44
    ./fixtures/VfsRetentionFixture.groovy
    • -0
    • +42
    ./fixtures/VfsRetentionHelper.java
    • -5
    • +4
    ./fixtures/executer/VfsRetentionGradleExecuter.groovy
  1. … 2 more files in changeset.
Address some review feedback

  1. … 1 more file in changeset.
Load daemon log line per line

for test conditions and when constructing to avoid OOM error.

    • -2
    • +14
    ./fixtures/daemon/AbstractDaemonFixture.groovy
Simplify `GradleBuildInstantExecutionSmokeTest` adhoc precondition

    • -1
    • +1
    ./fixtures/ToBeFixedForInstantExecutionRule.groovy
    • -1
    • +1
    ./fixtures/UnsupportedWithInstantExecutionRule.groovy
  1. … 1 more file in changeset.
Allow using `@ToBeFixedForVfsRetention` for Kotlin tests

The annotation didn't have an effect, since the extension only

was activated for Kotlin tests.

    • -0
    • +3
    ./fixtures/AbstractIntegrationTest.java
    • -0
    • +2
    ./fixtures/ToBeFixedForVfsRetention.java
    • -0
    • +38
    ./fixtures/ToBeFixedForVfsRetentionRule.groovy
  1. … 1 more file in changeset.
Change `value` to `because` in @ToBeFixedForVfsRetention

    • -1
    • +1
    ./fixtures/ToBeFixedForVfsRetention.java
  1. … 13 more files in changeset.
Let @ToBeFixedForInstantExecution report unexpected success in @Unroll-ed tests

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -9
    • +36
    ./fixtures/ToBeFixedForInstantExecutionExtension.groovy
Fix test enablement in runner

    • -0
    • +9
    ./fixtures/AbstractMultiTestRunner.java
    • -15
    • +13
    ./fixtures/BehindFlagFeatureRunner.groovy
  1. … 1 more file in changeset.
Add some more explanation to ToBeFixedForInstantExecutionExtension doc

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +5
    ./fixtures/ToBeFixedForInstantExecutionExtension.groovy
Effectively skip unrolled @UnsupportedWithInstantExecution test cases

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -2
    • +2
    ./fixtures/UnsupportedWithInstantExecutionExtension.groovy