- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for cancelBuild (0.13 sec)
-
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonStateCoordinatorTest.groovy
} 0 * _._ } def "cancelBuild when running command completes in short time"() { def command = Mock(Runnable) expect: notStopped when: coordinator.runCommand(command, "command") start { thread.blockUntil.running coordinator.cancelBuild() } then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 05 22:24:02 UTC 2024 - 16.3K bytes - Viewed (0) -
platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompileDaemonCancellationIntegrationTest.groovy
def handler = blockingHttpServer.expectAndBlock("/block") 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()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 19:57:50 UTC 2024 - 8.8K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/api/DaemonStateControl.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 05 22:24:02 UTC 2024 - 3.6K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonStateCoordinator.java
requestForcefulStop("the build was canceled after a stop was requested"); } } finally { lock.unlock(); } } @Override public void cancelBuild() { requestCancel(); lock.lock(); try { while (true) { try { switch (state) { case Idle:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 17.1K bytes - Viewed (0)