- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 50 for waitForAllPendingCalls (0.24 sec)
-
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/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/ProcessCrashHandlingIntegrationTest.groovy
} """ when: def block = server.expectAndBlock("block") def client = new DaemonClientFixture(executer.withArgument("--debug").withTasks("block").start()) block.waitForAllPendingCalls() daemons.daemon.assertBusy() client.kill() then: daemons.daemon.becomesCanceled() and: daemons.daemon.stops() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 12.1K 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/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/ParallelTestExecutionIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 6.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ConcurrentBuildsCachingIntegrationTest.groovy
executer.withArgument("--info") def build1 = executer.start() block1.waitForAllPendingCalls() // Start build 2 then wait until it has run both 'a' and 'b'. executer.withTasks("a", "b", "block2") executer.withArgument("--info") def build2 = executer.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 - 3K bytes - Viewed (0) -
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)