- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for waitForAllPendingCalls (0.51 sec)
-
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) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonProcessFailureIntegrationTest.groovy
""" def handler = blockingHttpServer.expectAndBlock("between") when: def gradle = executer.withTasks("compileJava").start() then: handler.waitForAllPendingCalls() and: pidFile('other').exists() def pid1 = pidFile('other').text.strip() as long kill(pid1) when: handler.releaseAll()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 07 18:43:14 UTC 2024 - 9.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/artifactreuse/ArtifactResolutionQueryIntegrationTest.groovy
} """ executer.requireOwnGradleUserHomeDir().requireIsolatedDaemons() expect: def build = executer.withArguments('query:query', ':resolve:resolve', '--parallel').start() handler.waitForAllPendingCalls() handler.release('/sync') Thread.sleep(1000) handler.release(module.pom.path) build.waitForFinish() } @Issue('https://github.com/gradle/gradle/issues/11247')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 00:21:07 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/integTest/groovy/org/gradle/cache/internal/FixedSharedModeCrossProcessCacheAccessIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 10 15:52:52 UTC 2024 - 4.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r86/StreamingBuildActionCrossVersionTest.groovy
collectOutputs(builder) builder.setStreamedValueListener(listener) builder.run(handler) modelReceived.await() request.waitForAllPendingCalls() request.releaseAll() finished.await() } then: models.size() == 2 models[0] instanceof GradleProject
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 07 03:20:59 UTC 2024 - 6.9K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/ChangesDuringTheBuildFileSystemWatchingIntegrationTest.groovy
def handle = withWatchFs().executer.withTasks(task).start() def userInput = server.expectAndBlock(expectedCall) userInput.waitForAllPendingCalls() action() userInput.releaseAll() result = handle.waitForFinish() } int getProjectFilesInVfs() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 13:50:33 UTC 2024 - 8K bytes - Viewed (0)