Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 593 for daemons (0.32 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonsFixture.java

         */
        List<? extends DaemonFixture> getVisible();
    
        /**
         * Convenience to get a single daemon. Fails if there is not exactly 1 daemon.
         */
        DaemonFixture getDaemon();
    
        /**
         * Returns the base dir of the daemon.
         */
        File getDaemonBaseDir();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r61/InvalidateVirtualFileSystemAfterChangeCrossVersionSpec.groovy

        }
    
        private int countExecutedCommands() {
            toolingApi.daemons.daemon.log.count("command = ")
        }
    
        private void createIdleDaemon() {
            withConnection { connection ->
                connection.model(GradleBuild).get()
            }
            toolingApi.daemons.daemon.assertIdle()
        }
    
        def cleanup() {
            toolingApi.close()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/process/internal/CancellationIntegrationTest.groovy

            cancelBuild(task)
    
            assert daemons.daemons.size() == 1
        }
    
        private void assertTaskIsCancellable(String task, boolean buildCacheEnabled = false) {
            startBuild(task, buildCacheEnabled)
            cancelBuild(task)
    
            def build = executer.withTasks("help").withArguments("--debug").start()
            build.waitForFinish()
            assert daemons.daemons.size() == 1
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 04:31:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonLifecycleEncodingSpec.groovy

            daemons(gradleVersion).daemons.size() == 1
    
            when:
            executer.withEnvironmentVars(GRADLE_OPTS: "-Dfile.encoding=ISO-8859-1");
            executer.withArgument("-i")
            run "verify"
    
            then:
            output.contains("verified = ISO-8859-1")
            daemons(gradleVersion).daemons.size() == 2
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/ShutdownCoordinator.java

        private final Set<DaemonConnectDetails> daemons = new CopyOnWriteArraySet<DaemonConnectDetails>();
        private final DaemonStopClient client;
    
        public ShutdownCoordinator(DaemonStopClient client) {
            this.client = client;
        }
    
        @Override
        public void daemonStarted(DaemonConnectDetails daemon) {
            daemons.add(daemon);
        }
    
        @Override
        public void stop() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/instrumentation-agent-services/src/integTest/groovy/org/gradle/internal/instrumentation/agent/AgentApplicationTest.groovy

            reason = "Testing the daemons"
        )
        def "daemon with the same agent status is reused"() {
            given:
            executer.requireIsolatedDaemons()
            withDumpAgentStatusTask()
    
            when:
            withAgentApplied(useAgentOnFirstRun)
            succeeds()
    
            then:
            daemons.daemon.becomesIdle()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top