- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for becomesIdle (0.24 sec)
-
platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompileDaemonCancellationIntegrationTest.groovy
when: startBuild("compileJava") then: handler.waitForAllPendingCalls() then: cancelBuild() then: daemons.daemon.becomesIdle() and: pidFile().exists() def pid1 = pidFile().text.strip() as long new ProcessFixture(pid1).waitForFinish() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 19:57:50 UTC 2024 - 8.8K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/AbstractDaemonFixture.groovy
} } @Override long getLogLineCount() { return daemonLog.lines().withCloseable { lines -> lines.count() } } DaemonFixture becomesIdle() { waitForState(Idle) this } DaemonFixture stops() { waitForState(Stopped) this } @Override void assertIdle() { assertHasState(Idle)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 15:22:16 UTC 2024 - 3.8K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonInitialCommunicationFailureIntegrationSpec.groovy
socket.outputStream.flush() then: // Nothing sent back socket.inputStream.read() == -1 // Daemon is still running daemon.becomesIdle() daemon.log.contains("Unable to receive command from client") when: // Ensure daemon is functional buildSucceeds() then: daemon.assertIdle()
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/instrumentation-agent-services/src/integTest/groovy/org/gradle/internal/instrumentation/agent/AgentApplicationTest.groovy
executer.requireIsolatedDaemons() withDumpAgentStatusTask() when: withAgentApplied(useAgentOnFirstRun) succeeds() then: daemons.daemon.becomesIdle() when: withAgentApplied(useAgentOnSecondRun) succeeds() then: def expectedDaemonCount = shouldReuseDaemon ? 1 : 2
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 7.8K bytes - Viewed (0)