Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for withAlternateWorkActionClassInBuildSrc (0.48 sec)

  1. testing/soak/src/integTest/groovy/org/gradle/workers/internal/WorkerPruningSoakTest.groovy

            // Enough to use up a large amount of memory on my 64GB Linux machine
            def workerCount = 200
    
            singleProjectBuild("root") {
                fixture.withAlternateWorkActionClassInBuildSrc()
                buildFile << """
                def buildCounter = project.property('counter')
                def runAllInWorkers = tasks.register("runAllInWorkers")
                for (int i = 0; i < $workerCount; i++) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. platforms/core-execution/workers/src/testFixtures/groovy/org/gradle/workers/fixtures/WorkerExecutorFixture.groovy

        }
    
        void withBlockingWorkActionClassInBuildSrc(String url) {
            getBlockingWorkActionThatCreatesFiles(url).writeToBuildSrc()
        }
    
        void withAlternateWorkActionClassInBuildSrc() {
            alternateWorkAction.writeToBuildSrc()
        }
    
        void withJava7CompatibleClasses() {
            file('buildSrc/build.gradle') << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 05 12:36:12 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  3. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorIntegrationTest.groovy

        }
    
        def "re-uses an existing compatible worker daemon when a different work action is executed"() {
            executer.withWorkerDaemonsExpirationDisabled()
            fixture.withAlternateWorkActionClassInBuildSrc()
    
            buildFile << """
                task runInDaemon(type: WorkerTask) {
                    isolationMode = 'processIsolation'
                }
    
                task reuseDaemon(type: WorkerTask) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 31K bytes
    - Viewed (0)
Back to top