Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for withWorkerDaemonsExpirationDisabled (0.33 sec)

  1. 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)
  2. 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)
  3. 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)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AbstractGradleExecuter.java

        public GradleExecuter requireIsolatedDaemons() {
            return withDaemonBaseDir(testDirectoryProvider.getTestDirectory().file("daemon"));
        }
    
        @Override
        public GradleExecuter withWorkerDaemonsExpirationDisabled() {
            return withCommandLineGradleOpts("-Dorg.gradle.workers.internal.disable-daemons-expiration=true");
        }
    
        @Override
        public boolean usesSharedDaemons() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top