Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,003 for daemons (0.1 sec)

  1. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonReuseIntegrationTest.groovy

            given:
            // Start a daemon
            executer.run()
            daemons.daemon.assertIdle()
            // Kill the daemon without letting it shutdown cleanly
            daemons.daemon.kill()
    
            // Take over the daemon's port. The daemon may take some time to finally shutdown and release the port.
            def nonDaemonProcess = new ServerSocket()
            ConcurrentTestUtil.poll {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r22/ClientShutdownCrossVersionSpec.groovy

            then:
            toolingApi.daemons.daemon.stops()
        }
    
        def "shutdown ignores daemons that are no longer running"() {
            given:
            withConnection { connection ->
                connection.model(GradleBuild).setJvmArguments(buildJvmArguments).get()
            }
            toolingApi.daemons.daemon.assertIdle()
            toolingApi.daemons.daemon.kill()
    
            when:
            toolingApi.close()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonSystemPropertiesIntegrationTest.groovy

            run("verify")
    
            then:
            daemons.daemons.size() == 1
    
            when:
            executer.withArgument("-Dfile.encoding=ISO-8859-1")
            run("verify")
    
            then:
            output.contains("verified = ISO-8859-1")
            daemons.daemons.size() == 2
        }
    
        def "forks new daemon when tmpdir is set to different value via commandline"() {
            setup:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/ProcessCrashHandlingIntegrationTest.groovy

            block.waitForAllPendingCalls()
            daemons.daemon.assertBusy()
            client.kill()
    
            then:
            daemons.daemon.becomesCanceled()
    
            when:
            block.releaseAll()
    
            then:
            daemons.daemon.becomesIdle()
    
            and:
            daemons.daemon.log.contains(DaemonMessages.CANCELED_BUILD)
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/LocaleSupportDaemonIntegrationTest.groovy

            """
    
            when:
            runWithLocale startLocale
    
            then:
            ranWithLocale changeLocale
            daemons.daemons.size() == 1
    
            when:
            runWithLocale startLocale
    
            then:
            ranWithLocale changeLocale
            daemons.daemons.size() == 1
        }
    
        @Issue("https://github.com/gradle/gradle/issues/4973")
        def "can use a locale without region (#overrideVersion)"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonReportStatusIntegrationSpec.groovy

     * limitations under the License.
     */
    
    package org.gradle.launcher.daemon
    
    import org.gradle.integtests.fixtures.daemon.DaemonIntegrationSpec
    import org.gradle.launcher.daemon.client.ReportDaemonStatusClient
    import org.gradle.launcher.daemon.logging.DaemonMessages
    import org.gradle.launcher.daemon.registry.DaemonStopEvent
    import org.gradle.launcher.daemon.server.expiry.DaemonExpirationStatus
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonPriorityIntegrationTest.groovy

        def "forks new daemon when priority is set to a different value via command line"() {
            when:
            run("help")
    
            then:
            daemons.daemons.size() == 1
    
            when:
            executer.withArguments("--priority", "low")
            run("help")
    
            then:
            daemons.daemons.size() == 2
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonInitialCommunicationFailureIntegrationSpec.groovy

            when:
            buildSucceeds()
    
            then:
            def daemon = daemons.daemon
    
            when:
            daemon.assertIdle()
            daemon.kill()
    
            then:
            buildSucceeds()
    
            and:
            def analyzer = daemons
            analyzer.daemons.size() == 2        //2 daemon participated
            analyzer.visible.size() == 1        //only one address in the registry
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 07:46:29 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonLifecycleTest.groovy

            """
    
            when:
            succeeds "runInWorker"
    
            and:
            def daemonProcess = new ProcessFixture(daemons.daemon.context.pid)
            def children = daemonProcess.getChildProcesses()
            // Sends a kill -9 to the daemon process only
            daemons.daemon.killDaemonOnly()
    
            then:
            children.length == 0
    
            cleanup:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/SingleUseDaemonIntegrationTest.groovy

            wasForked()
    
            and:
            daemons.daemon.stops()
        }
    
        def "stops single use daemon when build fails"() {
            requireJvmArg('-Xmx64m')
    
            file('build.gradle') << "throw new RuntimeException('bad')"
    
            when:
            fails()
    
            then:
            wasForked()
            failureHasCause "bad"
    
            and:
            daemons.daemon.stops()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 13:41:21 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top