Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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. … 407 more files in changeset.
Fix tests

  1. … 372 more files in changeset.
Disable reset of temp file for JDK12

  1. … 3 more files in changeset.
Disable reset of temp file for JDK12

  1. … 4 more files in changeset.
Disable reset of temp file for JDK12

  1. … 4 more files in changeset.
Disable reset of temp file for JDK12

  1. … 4 more files in changeset.
Disable reset of temp file for JDK12

  1. … 4 more files in changeset.
Fix Classycle unwanted dependencies

  1. … 4 more files in changeset.
Implement retry logic for `TestFile.copyFrom(URL)` (#1104)

This will help address flakiness on our infrastructure.

    • -0
    • +77
    ./RetryUtilTest.groovy
  1. … 2 more files in changeset.
Properly reset cached java.io.tmpdir state in tests

- File.createTempFile and java.io.nio.Files.createTempFile internally

cache the java.io.tmpdir location. This change is to reset that cached

state.

  1. … 2 more files in changeset.
Rollback recent changes to intTest tmpDir

On CI we are recently seeing JVM crashes as well as slower build times

for daemon integration tests. I suspect these changes are the cause.

This revert will allow me to test that theory.

Note that these changes span several commits. I've squashed the revert

for simplicity.

  1. … 11 more files in changeset.
Add test for resetting cached tmpdir

- move to SetSystemProperties rule

    • -0
    • +78
    ./SetSystemPropertiesTest.groovy
  1. … 2 more files in changeset.
Move RetryRule and related classes to a more specific package

  1. … 7 more files in changeset.
Change RetryRule to retry failing tests twice instead of once

  1. … 1 more file in changeset.
Retry test failures due to a known issue

Created a RetryRule that can be used to retry tests under certain condition.

Used this rule to retry cross-version tests that fail due to a known issue in pre-1.3 daemon.

    • -0
    • +27
    ./ExpectedFailure.java
    • -0
    • +46
    ./ExpectedFailureRule.java
    • -0
    • +67
    ./RetryRuleTest.groovy
  1. … 3 more files in changeset.
Removed unused class.

  1. … 1 more file in changeset.
Remove @author tags and names from source code.

- Added checkstyle check for @author

- Added not to CONTRIBUTING.md saying that we don't use names in the codebase

  1. … 1212 more files in changeset.
Some renaming and cleanup around the test/temp directory used in tests.

  1. … 308 more files in changeset.
Rename TestFileContext to TestWorkDirProvider, and don't make TestFile implement it.

  1. … 63 more files in changeset.
REVIEW-664, Copying configurations copies the resolution strategy.

Now the copy of configuration contains a correct copy of the resolution strategy, along with all the state of the strategy (including the cache policy). Mentioned in the release notes about this change.

    • -0
    • +61
    ./AssertionsTest.groovy
  1. … 6 more files in changeset.
REVIEW-803. Got rid of redundant hamcrest matcher.

  1. … 3 more files in changeset.
REVIEW-655 Added test fixture code for dependency resolution failures. Tightened coverage for the dependency resolve actions failure conditions.

    • -0
    • +39
    ./RegexMatcherSpec.groovy
  1. … 6 more files in changeset.
- Moved M2Installation to live with the int test fixtures. - Moved TempDirIsUniquePerTestSpec to live with the thing it is testing.

    • -0
    • +52
    ./TempDirIsUniquePerTestSpec.groovy
  1. … 5 more files in changeset.