- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 50 for waitForFinish (0.16 sec)
-
testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/executer/ForkingGradleHandleTest.groovy
forkingGradleHandle.execHandleRef.set(execHandle) } def "wait for finish for successful execution"() { when: def executionResult = forkingGradleHandle.waitForFinish() then: 1 * execHandle.waitForFinish() >> execResult 0 * execHandle._ 1 * execResult.rethrowFailure() 1 * execResult.getExitValue() >> SUCCESS_EXIT_VALUE 1 * resultAssertion.execute(_)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.3K bytes - Viewed (0) -
platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/ParallelSourceDependencyIntegrationTest.groovy
executer.withTasks('resolve') def build1 = executer.start() executer.withTasks('resolve') def build2 = executer.start() build1.waitForFinish() build2.waitForFinish() // Wait for each build to list versions httpServer.expectConcurrent(repo.listVersions(), repo.listVersions()) executer.withTasks('resolve')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 4.5K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/exec/DaemonConnectionBackedEventConsumer.java
this.execution = execution; forwarder.start(); } @Override public void dispatch(Object event) { queue.offer(event); } public void waitForFinish() { forwarder.waitForFinish(); } private class ForwardEvents extends Thread { private volatile boolean stopped; private boolean ableToSend = true; public ForwardEvents() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/CommandLineIntegrationSpec.groovy
then: ConcurrentTestUtil.poll() { // Connect, resume threads, and disconnect from VM jdwpClient.connect().dispose() } gradle.waitForFinish() } @Issue('https://github.com/gradle/gradle/issues/18084') @Requires(IntegTestPreconditions.NotEmbeddedExecutor) @Flaky(because = "https://github.com/gradle/gradle-private/issues/3636")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 05:05:14 UTC 2024 - 8.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ConcurrentBuildsArtifactTransformIntegrationTest.groovy
block2.waitForAllPendingCalls() // Finish up first build while second build is still running block1.releaseAll() def result1 = build1.waitForFinish() block2.releaseAll() def result2 = build2.waitForFinish() then: result1.output.count("Transforming") == 1 result1.output.count("Transforming thing.jar to Red") == 1
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 5.2K bytes - Viewed (0) -
platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/AbstractConsoleConfigurationProgressFunctionalTest.groovy
rootBuildScript.releaseAll() and: bBuildScript.waitForAllPendingCalls() assertHasWorkInProgress(":b") bBuildScript.releaseAll() and: gradle.waitForFinish() } def "shows work in progress with included build"() { createDirs("child") settingsFile << """ includeBuild "child" """ buildFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 5.3K bytes - Viewed (0) -
platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/rich/RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy
handle.releaseAll() result = gradle.waitForFinish() then: result.groupedOutput.task(':a:longRunning').outputs.size() == 1 result.groupedOutput.task(':a:longRunning').output == "longRunning has started...\nlongRunning has finished..." cleanup: gradle?.waitForFinish() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 5.1K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/CrossProcessFileLockIntegrationTest.groovy
and: def handle2 = executer.withArguments('b:build', '-is').start() handle2.waitForFinish() handle1.waitForFinish() and: file("a/build/libs/a.jar").assertExists() file("b/build/libs/b.jar").assertExists() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 2.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ConcurrentBuildsCachingIntegrationTest.groovy
block2.waitForAllPendingCalls() // Finish up build 1 and 2 block1.releaseAll() // finish build 1 while build 2 is still running build1.waitForFinish() block2.releaseAll() build2.waitForFinish() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r61/InvalidateVirtualFileSystemAfterChangeCrossVersionSpec.groovy
connection.notifyDaemonsAboutChangedPaths(toPaths(changedPaths)) } then: block.releaseAll() build.waitForFinish() pathsInvalidated() cleanup: block?.releaseAll() build?.waitForFinish() } @TargetGradleVersion(">=3.0 <6.1") def "invalidating paths has no effect on older daemons"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 4.5K bytes - Viewed (0)