- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 43 for waitForFinish (0.25 sec)
-
platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompileDaemonCancellationIntegrationTest.groovy
cancelBuild() then: daemons.daemon.becomesIdle() and: pidFile().exists() def pid1 = pidFile().text.strip() as long new ProcessFixture(pid1).waitForFinish() when: handler = blockingHttpServer.expectAndBlock("/block") startBuild("compileJava") then: handler.waitForAllPendingCalls() then:
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/executer/ForkingGradleHandle.java
} @Override public ExecutionResult waitForFinish() { return waitForStop(false); } @Override public ExecutionFailure waitForFailure() { return (ExecutionFailure) waitForStop(true); } @Override public void waitForExit() { getExecHandle().waitForFinish().rethrowFailure(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleHandle.java
*/ GradleHandle cancelWithEOT(); /** * Blocks until the build is complete and assert that the build completed successfully. */ ExecutionResult waitForFinish(); /** * Blocks until the build is complete and assert that the build completed with a failure. */ ExecutionFailure waitForFailure(); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/KillProcessAvailability.groovy
.redirectErrorStream() .workingDir(new File(".").absoluteFile) //does not matter .build() e.start() def result = e.waitForFinish() CAN_KILL = result.exitValue == 0 } else { CAN_KILL = false } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ProcessFixture.groovy
} return bash("ps -o pid,ppid,args -p ${pids.join(' -p ')}").split("\\n") } /** * Blocks until the process represented by {@link #pid} has exited. */ void waitForFinish() { if (pid == null) { throw new RuntimeException("Unable to wait for process to finish because provided pid is null!") } if (OperatingSystem.current().unix) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.6K bytes - Viewed (0) -
platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperConcurrentDownloadTest.groovy
def "concurrent downloads do not stomp over each other"() { given: prepareWrapper(server.uri("gradle-bin.zip")) when: def results = [1..4].collect { wrapperExecuter.start() }*.waitForFinish() then: results.findAll { it.output.contains("Downloading") }.size() == 1 }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:54:32 UTC 2024 - 1.6K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ScriptExecuter.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 12 10:33:12 UTC 2024 - 1.6K bytes - Viewed (0) -
platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/ExecHandle.java
*/ void abort(); /** * Waits for the process to finish. Returns immediately if the process has already completed. * * @return result */ ExecResult waitForFinish(); /** * Returns the result of the process execution, if it has finished. If the process has not finished, returns null. */ @Nullable ExecResult getExecResult();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 19 21:45:01 UTC 2024 - 1.8K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecDebugIntegrationTest.groovy
assert handle.standardOutput.contains('Listening for transport dt_socket at address') } then: debugClient.connect().dispose() then: handle.waitForFinish() where: taskName << ['runJavaExec', 'runExecOperationsJavaExec', 'test'] } @Issue("https://github.com/gradle/gradle/issues/20644")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 23:38:57 UTC 2024 - 8.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ConcurrentArchiveIntegrationTest.groovy
def handle1 = executer.withTasks('tasks').start() def handle2 = executer.withTasks('tasks').start() and: "they both complete" def result1 = handle1.waitForFinish() def result2 = handle2.waitForFinish() then: "both builds ran, with the settings script editing the archive atomically" result1.assertTasksExecuted(':tasks') result2.assertTasksExecuted(':tasks')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 17:32:21 UTC 2024 - 28.6K bytes - Viewed (0)