- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 587 for daemons (0.1 sec)
-
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) -
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) -
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) -
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) -
platforms/documentation/docs/src/docs/userguide/optimizing-performance/gradle_daemon.adoc
Live Daemons appear under the name `GradleDaemon`. Because this command uses the JDK, you can view Daemons running any version of Gradle. [[enable_deamon]] == Enable Daemon Gradle enables the Daemon by default since Gradle 3.0. If your project doesn't use the Daemon, you can enable it for a single build with the `--daemon` flag when you run a build: ---- $ gradle <task> --daemon ----
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 12:43:14 UTC 2024 - 13.1K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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)