ScalaCompileParallelIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Annotate integ tests failing with instant execution in :languageScala

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

    • -0
    • +2
    ./ScalaCompileParallelIntegrationTest.groovy
  1. … 4 more files in changeset.
Annotate integ tests failing with instant execution in :languageScala

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

    • -0
    • +2
    ./ScalaCompileParallelIntegrationTest.groovy
  1. … 4 more files in changeset.
Merge branch 'master'

    • -1
    • +0
    ./ScalaCompileParallelIntegrationTest.groovy
  1. … 9 more files in changeset.
Merge branch 'master'

    • -1
    • +0
    ./ScalaCompileParallelIntegrationTest.groovy
  1. … 11 more files in changeset.
Merge branch 'master'

    • -1
    • +0
    ./ScalaCompileParallelIntegrationTest.groovy
  1. … 11 more files in changeset.
upgraded Scala zinc compiler to version 1.2.5

Additionally introduces Scala compiler daemon that remains warm across build, improving further incremental compilation times

Signed-off-by: Predrag Knezevic <pedjak@gmail.com>

    • -96
    • +1
    ./ScalaCompileParallelIntegrationTest.groovy
  1. … 30 more files in changeset.
Avoid use of `startParameter.searchUpwards` in tests

When `GradleBuild` tasks were used in integration tests, we were often

resorting to `startParameter.searchUpwards = false` to target an isolated

build script. Instead, use an explicitly defined `settings.gradle` in each target

build.

    • -1
    • +1
    ./ScalaCompileParallelIntegrationTest.groovy
  1. … 6 more files in changeset.
Use mavenCentral() and jcenter() mirrors in tests where possible

    • -3
    • +1
    ./ScalaCompileParallelIntegrationTest.groovy
  1. … 51 more files in changeset.
Move some of persistent-cache out of core

+review REVIEW-6562

    • -1
    • +1
    ./ScalaCompileParallelIntegrationTest.groovy
  1. … 127 more files in changeset.
Configure -Xmx for daemons and workers in various tests

    • -0
    • +1
    ./ScalaCompileParallelIntegrationTest.groovy
  1. … 44 more files in changeset.
Tweaked the API of `BlockingHttpServer` to make it somewhat more convenient to use in tests.

    • -1
    • +1
    ./ScalaCompileParallelIntegrationTest.groovy
  1. … 15 more files in changeset.
Reworked `BlockingHttpServer`. Converted to Java and changed the implementation to use the JVM's HTTP server types instead of Jetty internals.

    • -1
    • +1
    ./ScalaCompileParallelIntegrationTest.groovy
  1. … 8 more files in changeset.
Use project locking to parallelize tasks with async work

- Allow tasks to start while running tasks are waiting on async work

- Lock on the entire build when --parallel is not used

- Discontinue handling of @ParallelizableTask

    • -21
    • +19
    ./ScalaCompileParallelIntegrationTest.groovy
  1. … 40 more files in changeset.
Use project locking to parallelize tasks with async work

- Allow tasks to start while running tasks are waiting on async work

- Lock on the entire build when --parallel is not used

- Discontinue handling of @ParallelizableTask

    • -21
    • +19
    ./ScalaCompileParallelIntegrationTest.groovy
  1. … 40 more files in changeset.
Remove our custom provided configuration in favor of compileOnly

- Remove FindBugsExecuterTest since it relies on a FindBugs type and doesn't add much value

- Move static constants from ZincScalaCompilerFactory into ZincScalaCompilerUtil so tests don't rely on Zinc/Scala internals

- Replace uses of 'provided' with 'compileOnly'

- Move FindBugs and Zinc dependencies into gradle/dependencies.gradle

    • -7
    • +7
    ./ScalaCompileParallelIntegrationTest.groovy
  1. … 9 more files in changeset.
Fix path canonicalization in ScalaCompileParallelIntegrationTest

Fixes "Could not canonicalise" error when Project#file and

passing a new File object on Windows.

Issue: #734

    • -1
    • +1
    ./ScalaCompileParallelIntegrationTest.groovy
Revert "Revert "Revert "Revert "Stabilize ZincScalaCompilerFactory and improve testing""""

This reverts commit 4c2360fc0db1ce39de01cb747e24725f8d92a0b4.

    • -9
    • +19
    ./ScalaCompileParallelIntegrationTest.groovy
  1. … 2 more files in changeset.
Revert "Revert "Revert "Stabilize ZincScalaCompilerFactory and improve testing"""

This reverts commit c854d5b2c48cc0cae743f0fa55f9f72a87ed1829.

    • -19
    • +9
    ./ScalaCompileParallelIntegrationTest.groovy
  1. … 2 more files in changeset.
Revert "Revert "Stabilize ZincScalaCompilerFactory and improve testing""

This reverts commit cb627f180505dd101ec1bd11d5a3e1ee60c1a245.

    • -9
    • +19
    ./ScalaCompileParallelIntegrationTest.groovy
  1. … 2 more files in changeset.
Revert "Stabilize ZincScalaCompilerFactory and improve testing"

This reverts commit 92cd7a6f0ef94b74e96d587121baf48428457968.

    • -19
    • +9
    ./ScalaCompileParallelIntegrationTest.groovy
  1. … 2 more files in changeset.
Stabilize ZincScalaCompilerFactory and improve testing

- Moved ZincCompilerServices to be private inner class

- Fixed failures in ScalaCompileParallelIntegrationTest

- Fixed typo "coping" => "copying"

- Update Zinc compiler interface JAR name. File name started

with compiler-interface-compiler-interface-

- Avoid leaking files when generating Zinc interface JAR

- Acquire lock when trying to get pre-existing zinc interface JAR.

This prevents returning a partially-copied JAR.

- Create temp file under zinc cache dir so we can verify that no

files are left behind after creating compiler interface JAR.

- Wrap Zinc cache closure in try/finally to avoid leaving it open

if an exception is thrown in operations before it's closed.

- Print warning if compiler interface JAR takes over 30 seconds to

generate.

Issue: #707, #733, #734

    • -9
    • +19
    ./ScalaCompileParallelIntegrationTest.groovy
  1. … 2 more files in changeset.
Investigate flaky test: request jstack dump for process holding the lock

- when a LockTimeoutException occurs

    • -0
    • +47
    ./ScalaCompileParallelIntegrationTest.groovy
Update Spock to 1.0

    • -2
    • +1
    ./ScalaCompileParallelIntegrationTest.groovy
  1. … 3 more files in changeset.
Fixing broken test on windows

+review REVIEW-5890

    • -2
    • +6
    ./ScalaCompileParallelIntegrationTest.groovy
Fixing scala parallel test to separate zinc and artifact caches

    • -9
    • +19
    ./ScalaCompileParallelIntegrationTest.groovy
  1. … 1 more file in changeset.
Remove spurious character +review REVIEW-5763

    • -1
    • +1
    ./ScalaCompileParallelIntegrationTest.groovy
Better handling of System Property during Zinc Compile

+review REVIEW-5763

    • -21
    • +24
    ./ScalaCompileParallelIntegrationTest.groovy
  1. … 3 more files in changeset.
Resetting zinc.dir after compile so that the warning always gets shown

+review REVIEW-5763

    • -3
    • +4
    ./ScalaCompileParallelIntegrationTest.groovy
  1. … 1 more file in changeset.
Cleaning up integration tests and other refactoring

+review REVIEW-5763

    • -119
    • +76
    ./ScalaCompileParallelIntegrationTest.groovy
  1. … 6 more files in changeset.
Further test coverage for parallel zinc compiler builds

+review REVIEW-5763

    • -23
    • +99
    ./ScalaCompileParallelIntegrationTest.groovy
  1. … 1 more file in changeset.