- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for waitForFinish (0.19 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/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/core-execution/persistent-cache/src/integTest/groovy/org/gradle/cache/internal/DefaultFileLockManagerContentionIntegrationTest.groovy
assertReleaseSignalTriggered(build2) assertReleaseSignalTriggered(build3) } then: receivingLock.close() build1.waitForFinish() build2.waitForFinish() build3.waitForFinish() } // This test simulates a long running Zinc compiler setup by running code similar to ZincScalaCompilerFactory through the worker API.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 15.1K bytes - Viewed (0) -
platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/AbstractConsoleBuildPhaseFunctionalTest.groovy
assert gradle.standardOutput =~ regexFor(message) } } String regexFor(String message) { /<.*> $message \[[\dms ]+]/ } void waitForFinish() { result = gradle.waitForFinish() outputDoesNotContain("More progress was logged than there should be") } String buildFinishedCall(String name) { """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 07:25:15 UTC 2024 - 16.9K 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) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/userinput/UserInputHandlingIntegrationTest.groovy
result = gradleHandle.waitForFinish() result.output.count(prompt) == 1 } void runWithInterruptedInput(String task) { interactiveExecution() def gradleHandle = executer.withTasks(task).start() writeToStdInAndClose(gradleHandle, EOF) result = gradleHandle.waitForFinish() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 13.4K 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) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ArtifactCacheUnusedEntryCleanupIntegrationTest.groovy
and: // start as new process so journal is not restored from in-memory cache executer.withTasks('help').start().waitForFinish() then: resource.assertDoesNotExist() files[0].assertDoesNotExist() files[1].assertDoesNotExist() and: // deletes empty parent directories
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 22 12:06:23 UTC 2024 - 16.7K bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonProcessFailureIntegrationTest.groovy
kill(pid1) when: handler.releaseAll() result = gradle.waitForFinish() then: outputContainsKilledWorkerWarning() } static void kill(long pid1) { def proc = new ProcessFixture(pid1) proc.kill(false) proc.waitForFinish() } void outputContainsKilledWorkerWarning() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 07 18:43:14 UTC 2024 - 9.6K bytes - Viewed (0) -
testing/integ-test/src/integTest/groovy/org/gradle/integtests/BuildSourceBuilderIntegrationTest.groovy
def runReleaseHandle = executer.withTasks("build2").usingInitScript(initScriptFile).start() and: def releaseResult = runReleaseHandle.waitForFinish() def blockingResult = runBlockingHandle.waitForFinish() then: blockingResult.ignoreBuildSrc.assertTasksExecuted(":build1") releaseResult.ignoreBuildSrc.assertTasksExecuted(":build2") cleanup:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5K bytes - Viewed (0)