- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for waitForAllPendingCalls (0.47 sec)
-
platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/AbstractConsoleBuildPhaseFunctionalTest.groovy
expect: settings.waitForAllPendingCalls() assertHasBuildPhase("0% INITIALIZING") settings.releaseAll() and: rootBuildScript.waitForAllPendingCalls() assertHasBuildPhase("0% CONFIGURING") rootBuildScript.releaseAll() and: bBuildScript.waitForAllPendingCalls() assertHasBuildPhase("40% CONFIGURING")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 07:25:15 UTC 2024 - 16.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r65/ToolingApiShutdownCrossVersionSpec.groovy
def build = connection.newBuild() build.forTasks('hang') build.run(resultHandler) sync.waitForAllPendingCalls(resultHandler) connector.disconnect() resultHandler.finished() then: assertNoRunningDaemons() } @Timeout(30) @TargetGradleVersion(">=6.8")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 11.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServerTest.groovy
} start { succeeds("c") } handle.waitForAllPendingCalls() handle.release("a") handle.waitForAllPendingCalls() handle.releaseAll() handle.waitForAllPendingCalls() handle.releaseAll() handle.waitForAllPendingCalls() } server.stop() then: noExceptionThrown()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 46.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ParallelDownloadsIntegrationTest.groovy
def build = executer.withTasks("resolve").start() metadataRequests.waitForAllPendingCalls() metadataRequests.release(2) metadataRequests.waitForAllPendingCalls() metadataRequests.release(2) requests.waitForAllPendingCalls() requests.release(2) requests.waitForAllPendingCalls() requests.release(2) build.waitForFinish() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 17:10:15 UTC 2024 - 13K bytes - Viewed (0) -
platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompileDaemonCancellationIntegrationTest.groovy
file('src/main/java/Foo.java') << blockingFooClass def handler = blockingHttpServer.expectAndBlock("/block") when: startBuild("compileJava") then: handler.waitForAllPendingCalls() then: cancelBuild() then: daemons.daemon.becomesIdle() and: pidFile().exists() def pid1 = pidFile().text.strip() as long
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 19:57:50 UTC 2024 - 8.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RemoteDependencyResolveConsoleIntegrationTest.groovy
when: executer.withTestConsoleAttached() executer.withConsole(ConsoleOutput.Rich) def build = executer.withTasks("resolve").withArguments("--max-workers=2").start() metaData.waitForAllPendingCalls() then: ConcurrentTestUtil.poll { outputContainsProgress(build, "> :resolve > Resolve dependencies of :compile", "> one-1.2.pom", "> two-1.2.pom"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Jan 14 00:59:27 UTC 2024 - 5.2K 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) -
subprojects/build-events/src/integTest/groovy/org/gradle/build/event/BuildEventsParallelIntegrationTest.groovy
def handleA = server.expectAndBlock("handle:a") server.expect("handle:b") server.expect("serviceClosed") def build = executer.withTasks("b").start() handleA.waitForAllPendingCalls() // Increase the chance of the test to detect a broken implementation that doesn't wait for events to be processed before closing the service. sleep(1000) handleA.releaseAll()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 19:15:46 UTC 2024 - 5.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectMaxNConcurrentRequests.java
condition.signalAll(); } @Override public void waitForAllPendingCalls() { waitForAllPendingCalls(BlockingHttpServer.FailureTracker.NO_FAILURE_TRACKER); } @Override public void waitForAllPendingCalls(BlockingHttpServer.FailureTracker failureTracker) { lock.lock(); try { previous.assertCanWait();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 14.4K bytes - Viewed (0)