Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for withWorkerDaemonsExpirationDisabled (0.33 sec)

  1. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/daemon/ScalaCompilerDaemonReuseIntegrationTest.groovy

            then:
            executedAndNotSkipped "${compileTaskPath('main')}", "${compileTaskPath('main2')}"
    
            and:
            assertOneCompilerDaemonIsRunning()
    
            when:
            executer.withWorkerDaemonsExpirationDisabled()
            succeeds("clean", "compileAll")
    
            then:
            executedAndNotSkipped "${compileTaskPath('main')}", "${compileTaskPath('main2')}"
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompilerDaemonReuseIntegrationTest.groovy

            assertTwoCompilerDaemonsAreRunning()
    
            when:
            executer.withWorkerDaemonsExpirationDisabled()
            succeeds("clean", "compileAll", "--info")
    
            then:
            executedAndNotSkipped "${compileTaskPath('main')}", "${compileTaskPath('main2')}"
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/AbstractDaemonWorkerExecutorIntegrationSpec.groovy

        def setup() {
            executer.requireDaemon()
            executer.requireIsolatedDaemons()
        }
    
        @Override
        protected ExecutionResult succeeds(String... tasks) {
            executer.withWorkerDaemonsExpirationDisabled()
            return super.succeeds(tasks)
        }
    
        void stopDaemonsNow() {
            result = executer.withArguments("--stop", "--info").run()
        }
    
        DaemonsFixture getDaemons() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. platforms/jvm/language-jvm/src/testFixtures/groovy/org/gradle/api/tasks/compile/AbstractCompilerContinuousIntegrationTest.groovy

    import org.gradle.integtests.fixtures.AbstractContinuousIntegrationTest
    
    abstract class AbstractCompilerContinuousIntegrationTest extends AbstractContinuousIntegrationTest {
    
        def setup() {
            executer.withWorkerDaemonsExpirationDisabled()
            executer.requireIsolatedDaemons()
        }
    
        abstract String getCompileTaskName()
        abstract String getCompileTaskType()
        abstract String getSourceFileName()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 04 07:31:58 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonExpirationIntegrationTest.groovy

        }
    
        def "worker daemons expiration can be disabled using a system property"() {
            when:
            withDebugLogging()
                .withWorkerDaemonsExpirationDisabled()
            succeeds('expireWorkers')
    
            then:
            outputDoesNotContain('Worker Daemon(s) expired to free some system memory')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. platforms/jvm/language-jvm/src/testFixtures/groovy/org/gradle/api/tasks/compile/AbstractCompilerDaemonReuseIntegrationTest.groovy

        abstract String getCompileTaskType()
    
        abstract String getApplyAndConfigure()
    
        abstract TestJvmComponent getComponent()
    
        def setup() {
            executer.withWorkerDaemonsExpirationDisabled()
            executer.requireDaemon().requireIsolatedDaemons()
            buildFile << """
                import org.gradle.workers.internal.WorkerDaemonClientsManager
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompileDaemonCancellationIntegrationTest.groovy

            def pid2 = pidFile().text.strip() as long
            pid2 == pid1
        }
    
        private void startBuild(String task) {
            executer
                .withArgument('--debug')
                .withWorkerDaemonsExpirationDisabled()
                .withTasks(task)
    
            client = new DaemonClientFixture(executer.start())
        }
    
        private void cancelBuild() {
            client.kill()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:57:50 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParallelIntegrationTest.groovy

            when:
            args("--max-workers=${maxWorkers}")
            def gradle = executer.withTasks("parallelWorkTask")
                            .requireIsolatedDaemons()
                            .withWorkerDaemonsExpirationDisabled()
                            .start()
    
            then:
            handler.waitForAllPendingCalls()
    
            when:
            handler.release(3)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 31.7K bytes
    - Viewed (0)
  9. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorServicesIntegrationTest.groovy

                    }
                }
            """
    
            file("foo").text = "foo"
            file("anotherProject/foo").text = "foo2"
    
            when:
            executer.withWorkerDaemonsExpirationDisabled()
            succeeds("runInWorker2")
    
            then:
            assertWorkerExecuted("runInWorker")
            assertWorkerExecuted("runInWorker2")
    
            and:
            file("bar/foo").text == "foo"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  10. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorIntegrationTest.groovy

            when:
            succeeds("run", "--parallel")
    
            then:
            noExceptionThrown()
        }
    
        def "re-uses an existing idle worker daemon"() {
            executer.withWorkerDaemonsExpirationDisabled()
            fixture.withWorkActionClassInBuildSrc()
    
            buildFile << """
                task runInDaemon(type: WorkerTask) {
                    isolationMode = 'processIsolation'
                }
    
    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