Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 831 for Daemons (0.11 sec)

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

            return new TestScalaComponent()
        }
    
        @Requires(IntegTestPreconditions.NotParallelExecutor)
        @UnsupportedWithConfigurationCache(because = "parallel by default")
        def "reuses compiler daemons within a single project across multiple builds when enabled"() {
            withSingleProjectSources()
            withPersistentScalaCompilerDaemons()
    
            when:
            succeeds("compileAll")
    
            then:
    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/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonExpirationTest.groovy

            1 * client1.stop()
            1 * client2.stop()
            0 * client3.stop()
    
            and:
            reserveIdleClient(oneGbOptions) == client3
        }
    
        def "expires all idle daemons when requested memory is equal than what all daemons consume"() {
            given:
            def client1 = reserveNewClient(oneGbOptions)
            def client2 = reserveNewClient(threeGbOptions)
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:56:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonIntegrationSpec.groovy

        }
    
        DaemonsFixture daemons(String gradleVersion) {
            new DaemonLogsAnalyzer(executer.daemonBaseDir, gradleVersion)
        }
    
        GradleHandle startAForegroundDaemon() {
            int currentSize = daemons.getRegistry().getAll().size()
            def daemon = executer.withArgument("--foreground").start()
            // Wait for foreground daemon to be ready
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/StoppingDaemonIntegrationSpec.groovy

        def "can stop a daemon that is using a different java home"() {
            given:
            succeeds()
            daemons.daemon.assertIdle()
    
            when:
            executer.withJavaHome(AvailableJavaHomes.differentJdk.javaHome)
            executer.withArguments("--stop").run()
    
            then:
            stopsSingleDaemon()
        }
    
        def "reports exact number of daemons stopped and keeps console output clean"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DefaultDaemonConnector.java

    import org.gradle.launcher.daemon.context.DaemonConnectDetails;
    import org.gradle.launcher.daemon.context.DaemonContext;
    import org.gradle.launcher.daemon.diagnostics.DaemonStartupInfo;
    import org.gradle.launcher.daemon.logging.DaemonMessages;
    import org.gradle.launcher.daemon.protocol.Message;
    import org.gradle.launcher.daemon.registry.DaemonInfo;
    import org.gradle.launcher.daemon.registry.DaemonRegistry;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  6. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/WorkerDaemonFactory.java

                    // This notifies the cancellation handler that a worker daemon has been in use during this build session.  If the
                    // build session is cancelled, we can't guarantee that all worker daemons are in a safe state, so the cancellation
                    // handler will stop any long-lived worker daemons.  If a worker is not used during this session (i.e. this method
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 13:20:59 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonLifecycleSpec.groovy

        def "daemons do some work - sit idle - then timeout and die"() {
            //in this particular test we need to make the daemon timeout
            //shorter than the state transition timeout so that
            //we can detect the daemon idling out within state verification window
            daemonIdleTimeout = stateTransitionTimeout / 2
    
            when:
            startBuild()
    
            then:
            busy()
    
            when:
            completeBuild()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonInitScriptHandlingIntegrationTest.groovy

    import spock.lang.Issue
    
    /**
     * Tests that init scripts are used from the _clients_ GRADLE_HOME, not the daemon server's.
     */
    @Issue("https://issues.gradle.org/browse/GRADLE-2408")
    @LeaksFileHandles("isolated daemons are not always stopped in time")
    //may fail with 'Unable to delete file: daemon.out.log'
    @Requires(value = IntegTestPreconditions.NotEmbeddedExecutor, reason = "tests a real Gradle distribution")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/logging/DaemonMessages.java

        public static final String ADVERTISING_DAEMON = "Advertising the daemon address to the clients: ";
        public static final String REMOVING_DAEMON_ADDRESS_ON_FAILURE = "Removing daemon from the registry due to communication failure. Daemon information: ";
        public static final String UNABLE_TO_STOP_DAEMON = "Unable to stop one of the daemons. The daemon may have crashed.";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonLogsAnalyzer.groovy

     */
    
    package org.gradle.integtests.fixtures.daemon
    
    import org.gradle.internal.logging.services.LoggingServiceRegistry
    import org.gradle.internal.service.ServiceRegistryBuilder
    import org.gradle.internal.service.scopes.BasicGlobalScopeServices
    import org.gradle.launcher.daemon.client.DaemonClientGlobalServices
    import org.gradle.launcher.daemon.registry.DaemonRegistry
    import org.gradle.launcher.daemon.registry.DaemonRegistryServices
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top