- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,003 for daemons (0.13 sec)
-
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) -
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) -
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-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) -
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) -
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) -
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) -
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) -
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) -
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)