- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 50 for waitForFinish (0.26 sec)
-
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkQueueIntegrationTest.groovy
started.release("item2") then: finished.waitForAllPendingCalls() then: finished.releaseAll() started.release("item3") then: gradle.waitForFinish() and: assertWorkItemsExecuted("item1", "item2", "item3") where: isolationMode << ISOLATION_MODES }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:36:27 UTC 2023 - 8.7K 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) -
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) -
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/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) -
platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/xctest/internal/execution/XCTestExecuter.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 8.1K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/GradleImplDepsConcurrencyIntegrationTest.groovy
(1..projectCount).each { count -> handles << executer.inDirectory(file(createProjectName(count))).withTasks(taskNames).start() } handles.each { handle -> handle.waitForFinish() } } private void parallelBuildSucceeds(String... taskNames) { executer.withBuildJvmOpts('-Xmx1024m') args('--parallel') succeeds taskNames }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 4.9K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/CommandLineJavaCompiler.java
builder.setIgnoreExitValue(true); return builder.build(); } private void executeCompiler(ExecHandle handle) { handle.start(); ExecResult result = handle.waitForFinish(); if (result.getExitValue() != 0) { throw new CompilationFailedException(result.getExitValue()); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/software/resources-sftp/src/integTest/groovy/org/gradle/integtests/resolve/resource/sftp/SftpClientReuseIntegrationTest.groovy
then: sftpServer.clearSessions() sftpServer.expectLstat("/") sleep(1000) when: sync.releaseAll() then: gradle.waitForFinish() } String getSftpTask() { return """ import org.gradle.internal.resource.transport.sftp.SftpClientFactory import org.gradle.api.artifacts.repositories.PasswordCredentials
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 3K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonReportStatusIntegrationSpec.groovy
out =~ /\n\s*\d+\s+BUSY\s+([\w\.\+\-]+)/ out =~ /\n\s*12346\s+STOPPED\s+\(GRACEFUL_EXPIRE_REASON\)/ cleanup: block?.releaseAll() build?.waitForFinish() } def "reports stopped status of recently stopped daemons"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 3.4K bytes - Viewed (0)