- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 36 for waitForAllPendingCalls (0.31 sec)
-
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/StoppingDaemonIntegrationSpec.groovy
} } """ when: def blockingHandler = server.expectAndBlock(UNBLOCK) def build = executer.withTasks("block").start() blockingHandler.waitForAllPendingCalls() daemons.daemon.assertBusy() executer.withArguments("--stop").run() def failure = build.waitForFailure() then: stopsSingleDaemon()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/crossVersionTest/groovy/org/gradle/integtests/resolve/caching/ConcurrentBuildsCachingCrossVersionIntegrationTest.groovy
def build1 = previousExecuter.start() block1.waitForAllPendingCalls() // Start build 2 then wait until it has run both 'a' and 'b'. def currentExecuter = version(current) currentExecuter.withArgument("-Penable-block2") currentExecuter.withTasks("c") def build2 = currentExecuter.start() block2.waitForAllPendingCalls() // Finish up build 1 and 2
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/AbstractConsoleJvmTestWorkerFunctionalTest.groovy
def testExecution = server.expectConcurrentAndBlock(2, SERVER_RESOURCE_1, SERVER_RESOURCE_2) when: def gradleHandle = executer.withTasks('test').start() testExecution.waitForAllPendingCalls() then: ConcurrentTestUtil.poll { containsTestExecutionWorkInProgressLine(gradleHandle, ':test', testClass1.renderedClassName)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 5.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/GlobalLoggingManipulationIntegrationTest.groovy
def builder = connection.model(GradleProject) builder.standardOutput = outInstance builder.standardError = errInstance builder.get(handler) handle.waitForAllPendingCalls() assert System.out.is(outInstance) assert System.err.is(errInstance) assert System.in.is(inInstance) handle.releaseAll() handler.result }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m3/ToolingApiLoggingCrossVersionSpec.groovy
def build = connection.newBuild() build.standardOutput = output build.forTasks("log") build.run(resultHandler) sync.waitForAllPendingCalls(resultHandler) ConcurrentTestUtil.poll { // Need to poll, as logging output is delivered asynchronously to client assert output.toString().contains(waitingMessage) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/AbstractBasicGroupedTaskLoggingFunctionalTest.groovy
def done = server.expectAndBlock("b-done") def build = executer.withArguments("--parallel").withTasks("run").start() waiting.waitForAllPendingCalls() waiting.release("b-waiting") done.waitForAllPendingCalls() done.releaseAll() waiting.releaseAll() result = build.waitForFailure() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 8.2K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonReportStatusIntegrationSpec.groovy
def block = server.expectAndBlock("block") def build = executer.withTasks("block").start() block.waitForAllPendingCalls() daemons.daemon.assertBusy() executer.useOnlyRequestedJvmOpts() executer.withBuildJvmOpts('-Xmx128m') executer.run() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r61/InvalidateVirtualFileSystemAfterChangeCrossVersionSpec.groovy
} } """ def block = server.expectAndBlock("block") def build = executer.withTasks("block", "--info").start() block.waitForAllPendingCalls() toolingApi.daemons.daemon.assertBusy() when: withConnection { connection -> connection.notifyDaemonsAboutChangedPaths(toPaths(changedPaths)) }
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/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r48/CancellationCrossVersionSpec.groovy
def build = action.build() build.withCancellationToken(cancel.token()) collectOutputs(build) build.run(resultHandler) sync.waitForAllPendingCalls(resultHandler) cancel.cancel() sync.releaseAll() resultHandler.finished() } then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r26/TestLauncherCancellationCrossVersionSpec.groovy
def build = connection.newTestLauncher() build.withJvmTestClasses("Broken") build.withCancellationToken(cancel.token()) build.run(resultHandler) sync.waitForAllPendingCalls(resultHandler) cancel.cancel() sync.releaseAll() resultHandler.finished() } then: buildWasCancelled(resultHandler, 'Could not execute tests using')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.7K bytes - Viewed (0)