Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 831 for Daemons (0.22 sec)

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

            given:
            buildSucceeds()
            def daemon = daemons.daemon
            daemon.assertIdle()
    
            when:
            daemon.changeTokenVisibleToClient()
            stopDaemonsNow()
    
            then:
            output.contains DaemonMessages.UNABLE_TO_STOP_DAEMON
            daemon.log.contains("Unexpected authentication token in command")
    
            and:
            // daemon is still running
            daemon.assertIdle()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r65/ToolingApiShutdownCrossVersionSpec.groovy

        }
    
        void assertNoRunningDaemons() {
            waitFor.eventually {
                toolingApi.daemons.daemons*.assertStopped()
            }
        }
    
        void assertNumberOfRunningDaemons(number) {
            waitFor.eventually {
                assert toolingApi.daemons.daemons.size() == number
                toolingApi.daemons.daemons*.assertBusy()
            }
            // `eventually` throws a runtime exception when the condition is never met
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DaemonStartupMessageTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.launcher.daemon.client
    
    import spock.lang.Specification
    
    class DaemonStartupMessageTest extends Specification {
        def "starting message contains number of busy and incompatible daemons (#numBusy busy, #numIncompatible incompatible, #numStopped stopped)"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonClientFactory.java

        }
    
        /**
         * Creates the services for sending simple messages to daemons.
         *
         * Currently, there are two clients which can be used from this registry:
         * - {@link DaemonStopClient} that can be used to stop daemons.
         * - {@link NotifyDaemonAboutChangedPathsClient} that can be used to notify daemons about changed paths.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonExpirationIntegrationTest.groovy

        }
    
        def "expire worker daemons to free system memory"() {
            when:
            withDebugLogging()
            succeeds 'expireWorkers'
    
            then:
            outputContains 'Worker Daemon(s) expired to free some system memory'
        }
    
        def "worker daemons expiration can be disabled using a system property"() {
            when:
            withDebugLogging()
    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. testing/soak/src/integTest/groovy/org/gradle/vfs/FileSystemWatchingSoakTest.groovy

            succeeds("assemble")
            def daemon = daemons.daemon
            then:
            daemon.assertIdle()
    
            when:
            numberOfChangeBatches.times { iteration ->
                changeSourceFiles(iteration, numberOfChangedSourcesFilesPerBatch)
                waitBetweenChangesToAvoidOverflow()
            }
            boolean overflowDetected = detectOverflow(daemon, 0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompileDaemonCancellationIntegrationTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.java.compile.daemon
    
    import org.gradle.integtests.fixtures.ProcessFixture
    import org.gradle.integtests.fixtures.daemon.DaemonClientFixture
    import org.gradle.integtests.fixtures.daemon.DaemonIntegrationSpec
    import org.gradle.internal.os.OperatingSystem
    import org.gradle.test.fixtures.file.TestFile
    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-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/CompatibleDaemonExpirationStrategyTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.launcher.daemon.server
    
    import org.gradle.launcher.daemon.context.DaemonCompatibilitySpec
    import org.gradle.launcher.daemon.context.DaemonContext
    import org.gradle.launcher.daemon.registry.DaemonInfo
    
    import static org.gradle.launcher.daemon.server.api.DaemonStateControl.State.Idle
    import static org.gradle.launcher.daemon.server.expiry.DaemonExpirationStatus.GRACEFUL_EXPIRE
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. platforms/jvm/language-jvm/src/testFixtures/groovy/org/gradle/api/tasks/compile/AbstractCompilerDaemonReuseIntegrationTest.groovy

                }
            """
        }
    
        @Requires(IntegTestPreconditions.NotParallelExecutor)
        @UnsupportedWithConfigurationCache(because = "parallel by default")
        def "reuses compiler daemons within a single project build"() {
            withSingleProjectSources()
    
            when:
            succeeds("compileAll")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/ReportDaemonStatusClient.java

    import org.gradle.launcher.daemon.protocol.Status;
    import org.gradle.launcher.daemon.registry.DaemonInfo;
    import org.gradle.launcher.daemon.registry.DaemonRegistry;
    import org.gradle.launcher.daemon.registry.DaemonStopEvent;
    import org.gradle.launcher.daemon.registry.DaemonStopEvents;
    
    import java.util.ArrayList;
    import java.util.List;
    import java.util.UUID;
    
    public class ReportDaemonStatusClient {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top